| 2392 | } |
| 2393 | |
| 2394 | CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void) |
| 2395 | { |
| 2396 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2397 | if(item) |
| 2398 | { |
| 2399 | item->type = cJSON_True; |
| 2400 | } |
| 2401 | |
| 2402 | return item; |
| 2403 | } |
| 2404 | |
| 2405 | CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void) |
| 2406 | { |
no test coverage detected