| 1309 | } |
| 1310 | |
| 1311 | CJSON_PUBLIC(cJSON *) cJSONUtils_GeneratePatches(cJSON *const from, cJSON *const to) |
| 1312 | { |
| 1313 | cJSON *patches = NULL; |
| 1314 | |
| 1315 | if ((from == NULL) || (to == NULL)) |
| 1316 | { |
| 1317 | return NULL; |
| 1318 | } |
| 1319 | |
| 1320 | patches = cJSON_CreateArray(); |
| 1321 | create_patches(patches, (const unsigned char *)"", from, to, false); |
| 1322 | |
| 1323 | return patches; |
| 1324 | } |
| 1325 | |
| 1326 | CJSON_PUBLIC(cJSON *) cJSONUtils_GeneratePatchesCaseSensitive(cJSON *const from, cJSON *const to) |
| 1327 | { |
nothing calls this directly
no test coverage detected