Create basic types: */
| 2459 | |
| 2460 | /* Create basic types: */ |
| 2461 | CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void) |
| 2462 | { |
| 2463 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2464 | if(item) |
| 2465 | { |
| 2466 | item->type = cJSON_NULL; |
| 2467 | } |
| 2468 | |
| 2469 | return item; |
| 2470 | } |
| 2471 | |
| 2472 | CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void) |
| 2473 | { |
no test coverage detected