MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / json_array_new

Function json_array_new

tinyemu/json.c:242–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242JSONValue json_array_new(void)
243{
244 JSONValue val;
245 JSONArray *array;
246 array = mallocz(sizeof(JSONArray));
247 val.type = JSON_ARRAY;
248 val.u.array = array;
249 return val;
250}
251
252void json_free(JSONValue val)
253{

Callers 1

json_parse_value2Function · 0.85

Calls 1

malloczFunction · 0.85

Tested by

no test coverage detected