MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / cJSON_CreateArray

Function cJSON_CreateArray

ThirdParty/cjson/cJSON.c:2397–2406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2395}
2396
2397CJSON_PUBLIC(cJSON *) cJSON_CreateArray(void)
2398{
2399 cJSON *item = cJSON_New_Item(&global_hooks);
2400 if(item)
2401 {
2402 item->type=cJSON_Array;
2403 }
2404
2405 return item;
2406}
2407
2408CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
2409{

Callers 7

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