| 994 | return item; |
| 995 | } |
| 996 | cJSON *cJSON_CreateBool(int b) |
| 997 | { |
| 998 | cJSON *item = cJSON_New_Item(); |
| 999 | if (item) |
| 1000 | item->type = b ? cJSON_True : cJSON_False; |
| 1001 | return item; |
| 1002 | } |
| 1003 | cJSON *cJSON_CreateDouble(double num, int sign) |
| 1004 | { |
| 1005 | cJSON *item = cJSON_New_Item(); |
no test coverage detected