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

Function cJSON_AddItemReferenceToArray

cJSON.c:2115–2123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2113}
2114
2115CJSON_PUBLIC(cJSON_bool) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item)
2116{
2117 if (array == NULL)
2118 {
2119 return false;
2120 }
2121
2122 return add_item_to_array(array, create_reference(item, &global_hooks));
2123}
2124
2125CJSON_PUBLIC(cJSON_bool) cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item)
2126{

Calls 2

add_item_to_arrayFunction · 0.85
create_referenceFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…