mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-14 10:20:05 +00:00
Move 'hooks' parameter into buffers (parse/print)
This commit is contained in:
1 parent
c4c217f2ce
commit
949c083315
11 files changed
+122
-98
No files matched your search
@@ -45,7 +45,7 @@ static void assert_is_number(cJSON *number_item)
|
||||
|
||||
static void assert_parse_number(const char *string, int integer, double real)
|
||||
{
|
||||
parse_buffer buffer = { 0, 0, 0, 0 };
|
||||
parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } };
|
||||
buffer.content = (const unsigned char*)string;
|
||||
buffer.length = strlen(string) + sizeof("");
|
||||
|
||||
|
||||
Reference in new issue
Block a user