mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-28 05:54:19 -04: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:
parent
51ebca182c
commit
fcb3f9b422
29 changed files with 1586 additions and 1184 deletions
|
@ -131,6 +131,7 @@ void assert_notequal(int e1, int e2, const char *fmt, ...);
|
|||
#define assert_notequal(e1, e2, ...) assert_exp((e1) != (e2), __VA_ARGS__)
|
||||
#endif
|
||||
|
||||
/* TODO: replace these with `ZUCP()`, `ZCUCP()` & `ZCCP()` resp. */
|
||||
#define TU(p) ((unsigned char *) (p))
|
||||
#define TCU(p) ((const unsigned char *) (p))
|
||||
#define TCC(p) ((const char *) (p))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue