mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-08 20:41:59 +00:00
general: prefix all INTERNAL funcs/tables with zint_, except
those in "backend/common.h", which are prefixed by `z_` - makes symbol clashes more unlikely when zint is statically linked (ticket #337, props Ulrich Becker) DOTCODE: fix padding allowance (10 -> 52 - probable max 35) to cover cases with large no. of columns requested and little data, to prevent `codeword_array` buffer overflow AZTEC/CODEONE: some code fiddling general_field: prefix defines with `GF_`, shorten static funcs prefix `general_field_` -> `gf_`
This commit is contained in:
@@ -394,7 +394,7 @@ static void test_aztec_bwipjs_354(const testCtx *const p_ctx) {
|
||||
assert_nonzero(length, "i:%d cnv_hex_data length zero\n", i);
|
||||
|
||||
#if 0
|
||||
debug_print_escape(TCU(data_buf), length, NULL);
|
||||
z_debug_print_escape(TCU(data_buf), length, NULL);
|
||||
printf("\n");
|
||||
#endif
|
||||
|
||||
@@ -484,7 +484,7 @@ static void test_codablockf_fnc4_digit(const testCtx *const p_ctx) {
|
||||
assert_nonzero(length, "i:%d cnv_hex_data length zero\n", i);
|
||||
|
||||
#if 0
|
||||
debug_print_escape(TCU(data_buf), length, NULL);
|
||||
z_debug_print_escape(TCU(data_buf), length, NULL);
|
||||
printf("\n");
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user