MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / cJSON_CreateNull

Function cJSON_CreateNull

eval/LANE_evaluation/lane2d/src/cJSON.c:975–981  ·  view source on GitHub ↗

Create basic types: */

Source from the content-addressed store, hash-verified

973
974/* Create basic types: */
975cJSON *cJSON_CreateNull()
976{
977 cJSON *item = cJSON_New_Item();
978 if (item)
979 item->type = cJSON_NULL;
980 return item;
981}
982cJSON *cJSON_CreateTrue()
983{
984 cJSON *item = cJSON_New_Item();

Callers 3

AddNullMethod · 0.85
ReplaceWithNullMethod · 0.85
AddNullAsFirstMethod · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected