default_configuration: Macro for the internal_configuration defaults

This commit is contained in:
Max Bruckner committed 2018-03-25 23:32:03 +02:00
1 parent ba8fe0f479
commit 515d11f55a
12 files changed
+33 -31

No files matched your search

+3 -3
View File
@@ -31,10 +31,10 @@ static void assert_print_array(const char * const expected, const char * const i
cJSON item[1];
printbuffer formatted_buffer = { 0, 0, 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0 } };
printbuffer unformatted_buffer = { 0, 0, 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0 } };
printbuffer formatted_buffer = { 0, 0, 0, 0, 0, default_configuration };
printbuffer unformatted_buffer = { 0, 0, 0, 0, 0, default_configuration };
parse_buffer parsebuffer = { 0, 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0 } };
parse_buffer parsebuffer = { 0, 0, 0, 0, default_configuration };
parsebuffer.content = (const unsigned char*)input;
parsebuffer.length = strlen(input) + sizeof("");
parsebuffer.configuration = global_configuration;