MCPcopy Create free account
hub / github.com/binbyu/Reader / cJSON_CreateFalse

Function cJSON_CreateFalse

opensrc/cjson/cJSON.c:2270–2279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2268}
2269
2270CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void)
2271{
2272 cJSON *item = cJSON_New_Item(&global_hooks);
2273 if(item)
2274 {
2275 item->type = cJSON_False;
2276 }
2277
2278 return item;
2279}
2280
2281CJSON_PUBLIC(cJSON *) cJSON_CreateBool(cJSON_bool b)
2282{

Callers 1

cJSON_AddFalseToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected