| 1279 | } |
| 1280 | |
| 1281 | CJSON_PUBLIC(cJSON *) cJSONUtils_GeneratePatches(cJSON * const from, cJSON * const to) |
| 1282 | { |
| 1283 | cJSON *patches = NULL; |
| 1284 | |
| 1285 | if ((from == NULL) || (to == NULL)) |
| 1286 | { |
| 1287 | return NULL; |
| 1288 | } |
| 1289 | |
| 1290 | patches = cJSON_CreateArray(); |
| 1291 | create_patches(patches, (const unsigned char*)"", from, to, false); |
| 1292 | |
| 1293 | return patches; |
| 1294 | } |
| 1295 | |
| 1296 | CJSON_PUBLIC(cJSON *) cJSONUtils_GeneratePatchesCaseSensitive(cJSON * const from, cJSON * const to) |
| 1297 | { |
searching dependent graphs…