MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / cJSON_DetachItemFromArray

Function cJSON_DetachItemFromArray

external/cJSON/cJSON.c:2294–2302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2292}
2293
2294CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromArray(cJSON *array, int which)
2295{
2296 if (which < 0)
2297 {
2298 return NULL;
2299 }
2300
2301 return cJSON_DetachItemViaPointer(array, get_array_item(array, (size_t)which));
2302}
2303
2304CJSON_PUBLIC(void) cJSON_DeleteItemFromArray(cJSON *array, int which)
2305{

Callers 1

Calls 2

get_array_itemFunction · 0.85

Tested by

no test coverage detected