MCPcopy Create free account
hub / github.com/SVF-tools/SVF / cJSON_CreateTrue

Function cJSON_CreateTrue

svf/lib/Util/cJSON.cpp:2403–2412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2401}
2402
2403CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void)
2404{
2405 cJSON *item = cJSON_New_Item(&global_hooks);
2406 if(item)
2407 {
2408 item->type = cJSON_True;
2409 }
2410
2411 return item;
2412}
2413
2414CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void)
2415{

Callers 1

cJSON_AddTrueToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected