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

Function cJSON_CreateArray

external/cJSON/cJSON.c:2598–2607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2596}
2597
2598CJSON_PUBLIC(cJSON *) cJSON_CreateArray(void)
2599{
2600 cJSON *item = cJSON_New_Item(&global_hooks);
2601 if(item)
2602 {
2603 item->type=cJSON_Array;
2604 }
2605
2606 return item;
2607}
2608
2609CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
2610{

Callers 6

make_cjsonFunction · 0.85
cJSON_AddArrayToObjectFunction · 0.85
cJSON_CreateIntArrayFunction · 0.85
cJSON_CreateFloatArrayFunction · 0.85
cJSON_CreateDoubleArrayFunction · 0.85
cJSON_CreateStringArrayFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected