MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / cJSON_CreateTrue

Function cJSON_CreateTrue

lib/cJSON.c:2123–2132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2121}
2122
2123cJSON *cJSON_CreateTrue(void)
2124{
2125 cJSON *item = cJSON_New_Item();
2126 if(item)
2127 {
2128 item->type = cJSON_True;
2129 }
2130
2131 return item;
2132}
2133
2134cJSON *cJSON_CreateFalse(void)
2135{

Callers

nothing calls this directly

Calls 1

cJSON_New_ItemFunction · 0.70

Tested by

no test coverage detected