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

Function cJSON_GetArrayItem

external/cJSON/cJSON.c:1941–1949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1939}
1940
1941CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index)
1942{
1943 if (index < 0)
1944 {
1945 return NULL;
1946 }
1947
1948 return get_array_item(array, (size_t)index);
1949}
1950
1951static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive)
1952{

Callers

nothing calls this directly

Calls 1

get_array_itemFunction · 0.85

Tested by

no test coverage detected