MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / cJSON_CreateFalse

Function cJSON_CreateFalse

libapp2sys/src/main/cpp/cjson/cJSON.c:2276–2285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2274}
2275
2276CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void)
2277{
2278 cJSON *item = cJSON_New_Item(&global_hooks);
2279 if(item)
2280 {
2281 item->type = cJSON_False;
2282 }
2283
2284 return item;
2285}
2286
2287CJSON_PUBLIC(cJSON *) cJSON_CreateBool(cJSON_bool b)
2288{

Callers 1

cJSON_AddFalseToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected