mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 21:44:13 -04:00
API: add ZBarcode_Reset()
to clear and restore zint_symbol
to
its default state library: fix dealing with ZINT_WARN_HRT_TRUNCATED in `error_tag()` when `WARN_FAIL_ALL` set
This commit is contained in:
parent
0601b580b2
commit
dfc4049932
8 changed files with 215 additions and 20 deletions
|
@ -386,6 +386,9 @@ extern "C" {
|
|||
/* Free any output buffers that may have been created and initialize output fields */
|
||||
ZINT_EXTERN void ZBarcode_Clear(struct zint_symbol *symbol);
|
||||
|
||||
/* Free any output buffers that may have been created and reset all fields to defaults */
|
||||
ZINT_EXTERN void ZBarcode_Reset(struct zint_symbol *symbol);
|
||||
|
||||
/* Free a symbol structure, including any output buffers */
|
||||
ZINT_EXTERN void ZBarcode_Delete(struct zint_symbol *symbol);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue