MCPcopy Create free account
hub / github.com/OpenIPC/firmware / cJSON_CreateFalse

Function cJSON_CreateFalse

general/package/xmdp/src/cjson/cJSON.c:2405–2414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2403}
2404
2405CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void)
2406{
2407 cJSON *item = cJSON_New_Item(&global_hooks);
2408 if(item)
2409 {
2410 item->type = cJSON_False;
2411 }
2412
2413 return item;
2414}
2415
2416CJSON_PUBLIC(cJSON *) cJSON_CreateBool(cJSON_bool boolean)
2417{

Callers 1

cJSON_AddFalseToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected