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