MCPcopy Index your code
hub / github.com/DaveGamble/cJSON / cJSON_CreateTrue

Function cJSON_CreateTrue

cJSON.c:2457–2466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2455}
2456
2457CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void)
2458{
2459 cJSON *item = cJSON_New_Item(&global_hooks);
2460 if(item)
2461 {
2462 item->type = cJSON_True;
2463 }
2464
2465 return item;
2466}
2467
2468CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void)
2469{

Callers 1

cJSON_AddTrueToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…