mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Generate some extern "C" lines
This commit is contained in:
1 parent
56491b384e
commit
c82e41c249
18 files changed
+256
-56
No files matched your search
+9
-1
@@ -24,6 +24,10 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Wuffs assumes that:
|
||||
// - converting a uint32_t to a size_t will never overflow.
|
||||
// - converting a size_t to a uint64_t will never overflow.
|
||||
@@ -1248,9 +1252,13 @@ static inline wuffs_base__table_u8 wuffs_base__image_buffer__plane(
|
||||
: ((wuffs_base__table_u8){});
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // WUFFS_INCLUDE_GUARD__BASE_PUBLIC
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+9
-1
@@ -24,6 +24,10 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Wuffs assumes that:
|
||||
// - converting a uint32_t to a size_t will never overflow.
|
||||
// - converting a size_t to a uint64_t will never overflow.
|
||||
@@ -1248,9 +1252,13 @@ static inline wuffs_base__table_u8 wuffs_base__image_buffer__plane(
|
||||
: ((wuffs_base__table_u8){});
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // WUFFS_INCLUDE_GUARD__BASE_PUBLIC
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+9
-1
@@ -24,6 +24,10 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Wuffs assumes that:
|
||||
// - converting a uint32_t to a size_t will never overflow.
|
||||
// - converting a size_t to a uint64_t will never overflow.
|
||||
@@ -1248,9 +1252,13 @@ static inline wuffs_base__table_u8 wuffs_base__image_buffer__plane(
|
||||
: ((wuffs_base__table_u8){});
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // WUFFS_INCLUDE_GUARD__BASE_PUBLIC
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+12
-4
@@ -24,6 +24,10 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Wuffs assumes that:
|
||||
// - converting a uint32_t to a size_t will never overflow.
|
||||
// - converting a size_t to a uint64_t will never overflow.
|
||||
@@ -1248,18 +1252,22 @@ static inline wuffs_base__table_u8 wuffs_base__image_buffer__plane(
|
||||
: ((wuffs_base__table_u8){});
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // WUFFS_INCLUDE_GUARD__BASE_PUBLIC
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
// ---------------- BEGIN USE "std/lzw"
|
||||
// ---------------- BEGIN USE "std/lzw"
|
||||
|
||||
#ifndef WUFFS_INCLUDE_GUARD__LZW
|
||||
#define WUFFS_INCLUDE_GUARD__LZW
|
||||
|
||||
// Code generated by wuffs-c. DO NOT EDIT.
|
||||
// Code generated by wuffs-c. DO NOT EDIT.
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+12
-4
@@ -24,6 +24,10 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Wuffs assumes that:
|
||||
// - converting a uint32_t to a size_t will never overflow.
|
||||
// - converting a size_t to a uint64_t will never overflow.
|
||||
@@ -1248,18 +1252,22 @@ static inline wuffs_base__table_u8 wuffs_base__image_buffer__plane(
|
||||
: ((wuffs_base__table_u8){});
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // WUFFS_INCLUDE_GUARD__BASE_PUBLIC
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
// ---------------- BEGIN USE "std/crc32"
|
||||
// ---------------- BEGIN USE "std/crc32"
|
||||
|
||||
#ifndef WUFFS_INCLUDE_GUARD__CRC32
|
||||
#define WUFFS_INCLUDE_GUARD__CRC32
|
||||
|
||||
// Code generated by wuffs-c. DO NOT EDIT.
|
||||
// Code generated by wuffs-c. DO NOT EDIT.
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+9
-1
@@ -24,6 +24,10 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Wuffs assumes that:
|
||||
// - converting a uint32_t to a size_t will never overflow.
|
||||
// - converting a size_t to a uint64_t will never overflow.
|
||||
@@ -1248,9 +1252,13 @@ static inline wuffs_base__table_u8 wuffs_base__image_buffer__plane(
|
||||
: ((wuffs_base__table_u8){});
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // WUFFS_INCLUDE_GUARD__BASE_PUBLIC
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+12
-4
@@ -24,6 +24,10 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Wuffs assumes that:
|
||||
// - converting a uint32_t to a size_t will never overflow.
|
||||
// - converting a size_t to a uint64_t will never overflow.
|
||||
@@ -1248,18 +1252,22 @@ static inline wuffs_base__table_u8 wuffs_base__image_buffer__plane(
|
||||
: ((wuffs_base__table_u8){});
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // WUFFS_INCLUDE_GUARD__BASE_PUBLIC
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
// ---------------- BEGIN USE "std/adler32"
|
||||
// ---------------- BEGIN USE "std/adler32"
|
||||
|
||||
#ifndef WUFFS_INCLUDE_GUARD__ADLER32
|
||||
#define WUFFS_INCLUDE_GUARD__ADLER32
|
||||
|
||||
// Code generated by wuffs-c. DO NOT EDIT.
|
||||
// Code generated by wuffs-c. DO NOT EDIT.
|
||||
|
||||
// ---------------- Use Declarations
|
||||
// ---------------- Use Declarations
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in new issue
Block a user