| 1959 | } |
| 1960 | |
| 1961 | CJSON_PUBLIC(void) cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item) |
| 1962 | { |
| 1963 | if ((object == NULL) || (string == NULL)) |
| 1964 | { |
| 1965 | return; |
| 1966 | } |
| 1967 | |
| 1968 | add_item_to_object(object, string, create_reference(item, &global_hooks), &global_hooks, false); |
| 1969 | } |
| 1970 | |
| 1971 | CJSON_PUBLIC(cJSON*) cJSON_AddNullToObject(cJSON * const object, const char * const name) |
| 1972 | { |
nothing calls this directly
no test coverage detected