MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / cJSON_New_Item

Function cJSON_New_Item

outofcore/src/cJSON.cpp:80–87  ·  view source on GitHub ↗

Internal constructor. */

Source from the content-addressed store, hash-verified

78
79/* Internal constructor. */
80static cJSON *cJSON_New_Item()
81{
82 cJSON* node = static_cast<cJSON*> (cJSON_malloc(sizeof(cJSON)));
83 if (node) {
84 *node = cJSON{};
85 }
86 return node;
87}
88
89/* Delete a cJSON structure. */
90void cJSON_Delete(cJSON *c)

Callers 12

cJSON_ParseFunction · 0.85
parse_arrayFunction · 0.85
parse_objectFunction · 0.85
create_referenceFunction · 0.85
cJSON_CreateNullFunction · 0.85
cJSON_CreateTrueFunction · 0.85
cJSON_CreateFalseFunction · 0.85
cJSON_CreateBoolFunction · 0.85
cJSON_CreateNumberFunction · 0.85
cJSON_CreateStringFunction · 0.85
cJSON_CreateArrayFunction · 0.85
cJSON_CreateObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected