MCPcopy Create free account
hub / github.com/Bwar/CJsonObject / cJSON_CreateTrue

Function cJSON_CreateTrue

cJSON.c:976–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

974 return item;
975}
976cJSON *cJSON_CreateTrue()
977{
978 cJSON *item = cJSON_New_Item();
979 if (item)
980 item->type = cJSON_True;
981 return item;
982}
983cJSON *cJSON_CreateFalse()
984{
985 cJSON *item = cJSON_New_Item();

Callers

nothing calls this directly

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected