MCPcopy Create free account
hub / github.com/Bwar/CJsonObject / cJSON_AddItemReferenceToObject

Function cJSON_AddItemReferenceToObject

cJSON.c:894–898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892 cJSON_AddItemToArray(array, create_reference(item));
893}
894void cJSON_AddItemReferenceToObject(cJSON *object, const char *string,
895 cJSON *item)
896{
897 cJSON_AddItemToObject(object, string, create_reference(item));
898}
899
900cJSON *cJSON_DetachItemFromArray(cJSON *array, int which)
901{

Callers

nothing calls this directly

Calls 2

cJSON_AddItemToObjectFunction · 0.85
create_referenceFunction · 0.85

Tested by

no test coverage detected