MCPcopy Create free account
hub / github.com/esnet/iperf / cJSON_CreateNull

Function cJSON_CreateNull

src/cjson.c:2396–2405  ·  view source on GitHub ↗

Create basic types: */

Source from the content-addressed store, hash-verified

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

Callers 1

cJSON_AddNullToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…