Create basic types: */
| 2394 | |
| 2395 | /* Create basic types: */ |
| 2396 | CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void) |
| 2397 | { |
| 2398 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2399 | if(item) |
| 2400 | { |
| 2401 | item->type = cJSON_NULL; |
| 2402 | } |
| 2403 | |
| 2404 | return item; |
| 2405 | } |
| 2406 | |
| 2407 | CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void) |
| 2408 | { |
no test coverage detected
searching dependent graphs…