mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-30 08:17:33 +00:00
GS1PARENS_MODE: allow parentheses in AI data if backslashed and
in `ESCAPE_MODE` composite: empty primary now returns `ZINT_ERROR_INVALID_DATA` rather than `ZINT_ERROR_INVALID_OPTION`; check that primary NUL-terminated library: check that `outfile` NUL-terminated gs1: preface all routines and linters with "gs1_" general: some code fiddling
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
INTERNAL int gs1_verify(struct zint_symbol *symbol, const unsigned char source[], const int length,
|
||||
unsigned char reduced[], int *p_reduced_length);
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user