MCPcopy Create free account
hub / github.com/SVF-tools/SVF / cJSON_CreateNull

Function cJSON_CreateNull

svf/lib/Util/cJSON.cpp:2392–2401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2390
2391/* Create basic types: */
2392CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void)
2393{
2394 cJSON *item = cJSON_New_Item(&global_hooks);
2395 if(item)
2396 {
2397 item->type = cJSON_NULL;
2398 }
2399
2400 return item;
2401}
2402
2403CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void)
2404{

Callers 1

cJSON_AddNullToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected