Generate macros for public scalar consts

This commit is contained in:
Nigel Tao committed 2019-02-02 16:17:10 +11:00
1 parent 4af1b88ef8
commit 5f7c807729
5 files changed
+19 -3

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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];