mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-13 14:44:35 -04:00
Add verbose mode to output debug info without recompiling
This commit is contained in:
parent
5acbffff0d
commit
6f4610aa98
11 changed files with 26 additions and 22 deletions
|
@ -367,7 +367,7 @@ int dotcode_encode_message(struct zint_symbol *symbol, const unsigned char sourc
|
|||
int input_position, array_length, i;
|
||||
char encoding_mode;
|
||||
int inside_macro, done;
|
||||
int debug = 0;
|
||||
int debug = symbol->debug;
|
||||
int binary_buffer_size = 0;
|
||||
int lawrencium[6]; // Reversed radix 103 values
|
||||
|
||||
|
@ -1088,7 +1088,7 @@ int dotcode(struct zint_symbol *symbol, const unsigned char source[], int length
|
|||
#else
|
||||
char* dot_stream;
|
||||
char* dot_array;
|
||||
unsigned char* masked_codeword_array;
|
||||
unsigned char* masked_codeword_array;
|
||||
unsigned char* codeword_array = (unsigned char *) _alloca(length * 3 * sizeof (unsigned char));
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue