MCPcopy Create free account
hub / github.com/ByConity/ByConity / cJSON_CreateFalse

Function cJSON_CreateFalse

contrib/cJSON/cJSON.cpp:2284–2293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2282}
2283
2284CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void)
2285{
2286 cJSON *item = cJSON_New_Item(&global_hooks);
2287 if(item)
2288 {
2289 item->type = cJSON_False;
2290 }
2291
2292 return item;
2293}
2294
2295CJSON_PUBLIC(cJSON *) cJSON_CreateBool(cJSON_bool b)
2296{

Callers 1

cJSON_AddFalseToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected