MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / cJSON_CreateFalse

Function cJSON_CreateFalse

framework/utils/cJSON.c:2268–2277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

cJSON_AddFalseToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected