| 1760 | } |
| 1761 | |
| 1762 | CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index) |
| 1763 | { |
| 1764 | if (index < 0) |
| 1765 | { |
| 1766 | return NULL; |
| 1767 | } |
| 1768 | |
| 1769 | return get_array_item(array, (size_t)index); |
| 1770 | } |
| 1771 | |
| 1772 | static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive) |
| 1773 | { |
no test coverage detected