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

Function cJSON_CreateArrayReference

cJSON.c:2556–2564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2554}
2555
2556CJSON_PUBLIC(cJSON *) cJSON_CreateArrayReference(const cJSON *child) {
2557 cJSON *item = cJSON_New_Item(&global_hooks);
2558 if (item != NULL) {
2559 item->type = cJSON_Array | cJSON_IsReference;
2560 item->child = (cJSON*)cast_away_const(child);
2561 }
2562
2563 return item;
2564}
2565
2566CJSON_PUBLIC(cJSON *) cJSON_CreateRaw(const char *raw)
2567{

Calls 2

cJSON_New_ItemFunction · 0.85
cast_away_constFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…