MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / cJSON_AddItemReferenceToArray

Function cJSON_AddItemReferenceToArray

common/map_sdk/transmission/src/cJSON.cpp:719–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717 cJSON_AddItemToArray(object, item);
718}
719void cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item) { cJSON_AddItemToArray(array, create_reference(item)); }
720void cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item) {
721 cJSON_AddItemToObject(object, string, create_reference(item));
722}

Callers

nothing calls this directly

Calls 2

cJSON_AddItemToArrayFunction · 0.85
create_referenceFunction · 0.85

Tested by

no test coverage detected