Create basic types: */
| 2444 | |
| 2445 | /* Create basic types: */ |
| 2446 | CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void) |
| 2447 | { |
| 2448 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2449 | if(item) |
| 2450 | { |
| 2451 | item->type = cJSON_NULL; |
| 2452 | } |
| 2453 | |
| 2454 | return item; |
| 2455 | } |
| 2456 | |
| 2457 | CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void) |
| 2458 | { |
searching dependent graphs…