mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Rename internal_hooks -> internal_configuration, cJSON_New_item -> create_item
This commit is contained in:
@@ -33,7 +33,7 @@ static void assert_print_number(const char *expected, double input)
|
||||
buffer.length = sizeof(printed);
|
||||
buffer.offset = 0;
|
||||
buffer.noalloc = true;
|
||||
buffer.hooks = global_hooks;
|
||||
buffer.configuration = global_configuration;
|
||||
|
||||
memset(item, 0, sizeof(item));
|
||||
cJSON_SetNumberValue(item, input);
|
||||
|
||||
Reference in New Issue
Block a user