MCPcopy Create free account
hub / github.com/SVF-tools/SVF / cJSON_CreateArray

Function cJSON_CreateArray

svf/lib/Util/cJSON.cpp:2532–2541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2530}
2531
2532CJSON_PUBLIC(cJSON *) cJSON_CreateArray(void)
2533{
2534 cJSON *item = cJSON_New_Item(&global_hooks);
2535 if(item)
2536 {
2537 item->type=cJSON_Array;
2538 }
2539
2540 return item;
2541}
2542
2543CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
2544{

Callers 7

cJSON_AddArrayToObjectFunction · 0.85
cJSON_CreateIntArrayFunction · 0.85
cJSON_CreateFloatArrayFunction · 0.85
cJSON_CreateDoubleArrayFunction · 0.85
cJSON_CreateStringArrayFunction · 0.85
getBugDescriptionMethod · 0.85
dumpToJsonFileMethod · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected