Internal constructor. */
| 201 | |
| 202 | /* Internal constructor. */ |
| 203 | static cJSON *cJSON_New_Item(void) |
| 204 | { |
| 205 | cJSON* node = (cJSON*)cJSON_malloc(sizeof(cJSON)); |
| 206 | if (node) |
| 207 | { |
| 208 | memset(node, '\0', sizeof(cJSON)); |
| 209 | } |
| 210 | |
| 211 | return node; |
| 212 | } |
| 213 | |
| 214 | /* Delete a cJSON structure. */ |
| 215 | void cJSON_Delete(cJSON *c) |
no outgoing calls
no test coverage detected