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:
@@ -46,7 +46,7 @@ static void assert_parse_value(const char *string, int type)
|
||||
parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } };
|
||||
buffer.content = (const unsigned char*) string;
|
||||
buffer.length = strlen(string) + sizeof("");
|
||||
buffer.hooks = global_hooks;
|
||||
buffer.configuration = global_configuration;
|
||||
|
||||
TEST_ASSERT_TRUE(parse_value(item, &buffer));
|
||||
assert_is_value(item, type);
|
||||
|
||||
Reference in New Issue
Block a user