| 2077 | cJSON_Delete(c); |
| 2078 | } |
| 2079 | void cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem) |
| 2080 | { |
| 2081 | if (which < 0) |
| 2082 | { |
| 2083 | return; |
| 2084 | } |
| 2085 | |
| 2086 | ReplaceItemInArray(array, (size_t)which, newitem); |
| 2087 | } |
| 2088 | |
| 2089 | void cJSON_ReplaceItemInObject(cJSON *object, const char *string, cJSON *newitem) |
| 2090 | { |
nothing calls this directly
no test coverage detected