mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-06 19:47:09 +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:
@@ -37,10 +37,10 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
INTERNAL int gs1_verify(struct zint_symbol *symbol, unsigned char source[], int *p_length, unsigned char reduced[],
|
||||
int *p_reduced_length);
|
||||
INTERNAL char gs1_check_digit(const unsigned char source[], const int length);
|
||||
INTERNAL int gs1_iso3166_alpha2(const unsigned char *cc);
|
||||
INTERNAL int zint_gs1_verify(struct zint_symbol *symbol, unsigned char source[], int *p_length,
|
||||
unsigned char reduced[], int *p_reduced_length);
|
||||
INTERNAL char zint_gs1_check_digit(const unsigned char source[], const int length);
|
||||
INTERNAL int zint_gs1_iso3166_alpha2(const unsigned char *cc);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user