| 2529 | } |
| 2530 | |
| 2531 | CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void) |
| 2532 | { |
| 2533 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2534 | if (item) |
| 2535 | { |
| 2536 | item->type = cJSON_Object; |
| 2537 | } |
| 2538 | |
| 2539 | return item; |
| 2540 | } |
| 2541 | |
| 2542 | /* Create Arrays: */ |
| 2543 | CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count) |
no test coverage detected