| 1951 | } |
| 1952 | |
| 1953 | CJSON_PUBLIC(void) cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item) |
| 1954 | { |
| 1955 | if ((object == NULL) || (string == NULL)) |
| 1956 | { |
| 1957 | return; |
| 1958 | } |
| 1959 | |
| 1960 | add_item_to_object(object, string, create_reference(item, &global_hooks), &global_hooks, false); |
| 1961 | } |
| 1962 | |
| 1963 | CJSON_PUBLIC(cJSON*) cJSON_AddNullToObject(cJSON * const object, const char * const name) |
| 1964 | { |
nothing calls this directly
no test coverage detected