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

Function cJSON_DetachItemFromArray

cJSON.c:2279–2287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2277}
2278
2279CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromArray(cJSON *array, int which)
2280{
2281 if (which < 0)
2282 {
2283 return NULL;
2284 }
2285
2286 return cJSON_DetachItemViaPointer(array, get_array_item(array, (size_t)which));
2287}
2288
2289CJSON_PUBLIC(void) cJSON_DeleteItemFromArray(cJSON *array, int which)
2290{

Calls 2

get_array_itemFunction · 0.70

Used in the wild real call sites across dependent graphs

searching dependent graphs…