| 2470 | } |
| 2471 | |
| 2472 | CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void) |
| 2473 | { |
| 2474 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2475 | if(item) |
| 2476 | { |
| 2477 | item->type = cJSON_True; |
| 2478 | } |
| 2479 | |
| 2480 | return item; |
| 2481 | } |
| 2482 | |
| 2483 | CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void) |
| 2484 | { |
no test coverage detected