MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / cJSON_CreateObject

Function cJSON_CreateObject

libapp2sys/src/main/cpp/cjson/cJSON.c:2402–2411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2400}
2401
2402CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
2403{
2404 cJSON *item = cJSON_New_Item(&global_hooks);
2405 if (item)
2406 {
2407 item->type = cJSON_Object;
2408 }
2409
2410 return item;
2411}
2412
2413/* Create Arrays: */
2414CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count)

Callers 15

checkPermissionMethod · 0.85
requestCpuHighFreqMethod · 0.85
cancelCpuHighFreqMethod · 0.85
requestGpuHighFreqMethod · 0.85
cancelGpuHighFreqMethod · 0.85
requestHighIOFreqMethod · 0.85
cancelHighIOFreqMethod · 0.85
resetScreenResolutionMethod · 0.85
registerANRCallbackMethod · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected