| 1941 | } |
| 1942 | |
| 1943 | CJSON_PUBLIC(void) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item) |
| 1944 | { |
| 1945 | if (array == NULL) |
| 1946 | { |
| 1947 | return; |
| 1948 | } |
| 1949 | |
| 1950 | add_item_to_array(array, create_reference(item, &global_hooks)); |
| 1951 | } |
| 1952 | |
| 1953 | CJSON_PUBLIC(void) cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item) |
| 1954 | { |
no test coverage detected