| 1764 | } |
| 1765 | |
| 1766 | CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index) |
| 1767 | { |
| 1768 | if (index < 0) |
| 1769 | { |
| 1770 | return NULL; |
| 1771 | } |
| 1772 | |
| 1773 | return get_array_item(array, (size_t)index); |
| 1774 | } |
| 1775 | |
| 1776 | static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive) |
| 1777 | { |
nothing calls this directly
no test coverage detected