| 1873 | } |
| 1874 | |
| 1875 | CJSON_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 | |
| 1885 | static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive) |
| 1886 | { |
no test coverage detected