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

Function cJSON_CreateObject

external/cJSON/cJSON.c:2609–2618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2607}
2608
2609CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
2610{
2611 cJSON *item = cJSON_New_Item(&global_hooks);
2612 if (item)
2613 {
2614 item->type = cJSON_Object;
2615 }
2616
2617 return item;
2618}
2619
2620/* Create Arrays: */
2621CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count)

Callers 2

make_cjsonFunction · 0.85
cJSON_AddObjectToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected