MCPcopy Index your code
hub / github.com/DaveGamble/cJSON / cJSONUtils_GeneratePatches

Function cJSONUtils_GeneratePatches

cJSON_Utils.c:1281–1294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279}
1280
1281CJSON_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
1296CJSON_PUBLIC(cJSON *) cJSONUtils_GeneratePatchesCaseSensitive(cJSON * const from, cJSON * const to)
1297{

Calls 2

cJSON_CreateArrayFunction · 0.85
create_patchesFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…