Create basic types: */
| 2406 | |
| 2407 | /* Create basic types: */ |
| 2408 | CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void) |
| 2409 | { |
| 2410 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2411 | if(item) |
| 2412 | { |
| 2413 | item->type = cJSON_NULL; |
| 2414 | } |
| 2415 | |
| 2416 | return item; |
| 2417 | } |
| 2418 | |
| 2419 | CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void) |
| 2420 | { |
no test coverage detected