MCPcopy Create free account
hub / github.com/acl-dev/acl / suffix_object

Function suffix_object

lib_acl/samples/json/json5/cJSON.cpp:666–666  ·  view source on GitHub ↗

Utility for array list handling. */

Source from the content-addressed store, hash-verified

664
665/* Utility for array list handling. */
666static void suffix_object(cJSON *prev,cJSON *item) {prev->next=item;item->prev=prev;}
667/* Utility for handling references. */
668static cJSON *create_reference(cJSON *item) {cJSON *ref=cJSON_New_Item();if (!ref) return 0;memcpy(ref,item,sizeof(cJSON));ref->string=0;ref->type|=cJSON_IsReference;ref->next=ref->prev=0;return ref;}
669

Callers 5

cJSON_AddItemToArrayFunction · 0.85
cJSON_CreateIntArrayFunction · 0.85
cJSON_CreateFloatArrayFunction · 0.85
cJSON_CreateDoubleArrayFunction · 0.85
cJSON_CreateStringArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…