| 2143 | } |
| 2144 | |
| 2145 | cJSON *cJSON_CreateBool(cjbool b) |
| 2146 | { |
| 2147 | cJSON *item = cJSON_New_Item(); |
| 2148 | if(item) |
| 2149 | { |
| 2150 | item->type = b ? cJSON_True : cJSON_False; |
| 2151 | } |
| 2152 | |
| 2153 | return item; |
| 2154 | } |
| 2155 | |
| 2156 | cJSON *cJSON_CreateNumber(double num) |
| 2157 | { |
nothing calls this directly
no test coverage detected