MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / cJSON_GetArrayItem

Function cJSON_GetArrayItem

TheForceEngine/TFE_System/cJSON.c:1875–1883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1873}
1874
1875CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index)
1876{
1877 if (index < 0)
1878 {
1879 return NULL;
1880 }
1881
1882 return get_array_item(array, (size_t)index);
1883}
1884
1885static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive)
1886{

Callers 1

tryAssignPropertyFunction · 0.85

Calls 1

get_array_itemFunction · 0.85

Tested by

no test coverage detected