| 988 | return item; |
| 989 | } |
| 990 | cJSON *cJSON_CreateBool(int b) |
| 991 | { |
| 992 | cJSON *item = cJSON_New_Item(); |
| 993 | if (item) |
| 994 | item->type = b ? cJSON_True : cJSON_False; |
| 995 | return item; |
| 996 | } |
| 997 | cJSON *cJSON_CreateDouble(double num, int sign) |
| 998 | { |
| 999 | cJSON *item = cJSON_New_Item(); |
no test coverage detected