MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / cJSON_CreateTrue

Function cJSON_CreateTrue

external/cJSON/cJSON.c:2472–2481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2470}
2471
2472CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void)
2473{
2474 cJSON *item = cJSON_New_Item(&global_hooks);
2475 if(item)
2476 {
2477 item->type = cJSON_True;
2478 }
2479
2480 return item;
2481}
2482
2483CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void)
2484{

Callers 1

cJSON_AddTrueToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected