| 1949 | } |
| 1950 | |
| 1951 | CJSON_PUBLIC(void) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item) |
| 1952 | { |
| 1953 | if (array == NULL) |
| 1954 | { |
| 1955 | return; |
| 1956 | } |
| 1957 | |
| 1958 | add_item_to_array(array, create_reference(item, &global_hooks)); |
| 1959 | } |
| 1960 | |
| 1961 | CJSON_PUBLIC(void) cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item) |
| 1962 | { |
no test coverage detected