| 1939 | } |
| 1940 | |
| 1941 | CJSON_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 | |
| 1951 | static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive) |
| 1952 | { |
nothing calls this directly
no test coverage detected