mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Generate macros for public scalar consts
This commit is contained in:
1 parent
4af1b88ef8
commit
5f7c807729
5 files changed
+19
-3
No files matched your search
@@ -53,7 +53,7 @@ uint8_t lgtm_ptr[] = {
|
||||
};
|
||||
size_t lgtm_len = 20;
|
||||
|
||||
#define WORK_BUFFER_SIZE (32768 + 512)
|
||||
#define WORK_BUFFER_SIZE WUFFS_DEFLATE__MAX_INCL_WORKBUF_LEN
|
||||
uint8_t work_buffer[WORK_BUFFER_SIZE];
|
||||
|
||||
// ignore_return_value suppresses errors from -Wall -Werror.
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ for a C compiler $CC, such as clang or gcc.
|
||||
#define SRC_BUFFER_SIZE (128 * 1024)
|
||||
#endif
|
||||
|
||||
#define WORK_BUFFER_SIZE (32768 + 512)
|
||||
#define WORK_BUFFER_SIZE WUFFS_GZIP__MAX_INCL_WORKBUF_LEN
|
||||
|
||||
uint8_t dst_buffer[DST_BUFFER_SIZE];
|
||||
uint8_t src_buffer[SRC_BUFFER_SIZE];
|
||||
|
||||
Reference in new issue
Block a user