| 1862 | } |
| 1863 | |
| 1864 | CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index) |
| 1865 | { |
| 1866 | if (index < 0) |
| 1867 | { |
| 1868 | return NULL; |
| 1869 | } |
| 1870 | |
| 1871 | return get_array_item(array, (size_t)index); |
| 1872 | } |
| 1873 | |
| 1874 | static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive) |
| 1875 | { |
nothing calls this directly
no test coverage detected