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

Function cJSON_Duplicate

cJSON.c:2769–2772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2767cJSON * cJSON_Duplicate_rec(const cJSON *item, size_t depth, cJSON_bool recurse);
2768
2769CJSON_PUBLIC(cJSON *) cJSON_Duplicate(const cJSON *item, cJSON_bool recurse)
2770{
2771 return cJSON_Duplicate_rec(item, 0, recurse );
2772}
2773
2774cJSON * cJSON_Duplicate_rec(const cJSON *item, size_t depth, cJSON_bool recurse)
2775{

Callers 8

apply_patchFunction · 0.85
compose_patchFunction · 0.85
merge_patchFunction · 0.85
generate_merge_patchFunction · 0.85
test_apply_patchFunction · 0.85
test_generate_testFunction · 0.85

Calls 1

cJSON_Duplicate_recFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…