Create basic types: */
| 2374 | |
| 2375 | /* Create basic types: */ |
| 2376 | CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void) |
| 2377 | { |
| 2378 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2379 | if(item) |
| 2380 | { |
| 2381 | item->type = cJSON_NULL; |
| 2382 | } |
| 2383 | |
| 2384 | return item; |
| 2385 | } |
| 2386 | |
| 2387 | CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void) |
| 2388 | { |
no test coverage detected