MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / cJSON_AddItemReferenceToArray

Function cJSON_AddItemReferenceToArray

external/cJSON/cJSON.c:2130–2138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2128}
2129
2130CJSON_PUBLIC(cJSON_bool) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item)
2131{
2132 if (array == NULL)
2133 {
2134 return false;
2135 }
2136
2137 return add_item_to_array(array, create_reference(item, &global_hooks));
2138}
2139
2140CJSON_PUBLIC(cJSON_bool) cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item)
2141{

Callers 1

cJSON.hFile · 0.85

Calls 2

add_item_to_arrayFunction · 0.85
create_referenceFunction · 0.85

Tested by

no test coverage detected