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

Function cJSON_DetachItemFromObject

external/cJSON/cJSON.c:2309–2314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2307}
2308
2309CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObject(cJSON *object, const char *string)
2310{
2311 cJSON *to_detach = cJSON_GetObjectItem(object, string);
2312
2313 return cJSON_DetachItemViaPointer(object, to_detach);
2314}
2315
2316CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObjectCaseSensitive(cJSON *object, const char *string)
2317{

Callers 1

Calls 2

cJSON_GetObjectItemFunction · 0.85

Tested by

no test coverage detected