MCPcopy Index your code
hub / github.com/DaveGamble/cJSON / cJSON_CreateObject

Function cJSON_CreateObject

cJSON.c:2594–2603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2592}
2593
2594CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
2595{
2596 cJSON *item = cJSON_New_Item(&global_hooks);
2597 if (item)
2598 {
2599 item->type = cJSON_Object;
2600 }
2601
2602 return item;
2603}
2604
2605/* Create Arrays: */
2606CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count)

Callers 15

compose_patchFunction · 0.85
merge_patchFunction · 0.85
generate_merge_patchFunction · 0.85
create_objectsFunction · 0.85
cJSON_AddObjectToObjectFunction · 0.85
misc_testsFunction · 0.85
sort_testsFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…