| 1957 | } |
| 1958 | |
| 1959 | CJSON_PUBLIC(void) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item) |
| 1960 | { |
| 1961 | if (array == NULL) |
| 1962 | { |
| 1963 | return; |
| 1964 | } |
| 1965 | |
| 1966 | add_item_to_array(array, create_reference(item, &global_hooks)); |
| 1967 | } |
| 1968 | |
| 1969 | CJSON_PUBLIC(void) cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item) |
| 1970 | { |
no test coverage detected