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