MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / cson_value_get_array

Function cson_value_get_array

cson/cson.c:495–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493 return cson__type(v) == JSON_ARRAY;
494}
495cson_array *cson_value_get_array(cson_value *val)
496{
497 return &val->u.arr;
498}
499int cson_array_set(cson_array *ar, unsigned int ndx, cson_value *v)
500{
501 cson__render(ar->value);

Callers 15

get_arrpropFunction · 0.85
dump_sql_eventFunction · 0.85
test_aFunction · 0.85
test_cFunction · 0.85
test_dFunction · 0.85
test_fFunction · 0.85
test_gFunction · 0.85
test_h_arrFunction · 0.85
test_hFunction · 0.85
print_valueFunction · 0.85
test_jFunction · 0.85
test_nFunction · 0.85

Calls

no outgoing calls

Tested by 12

test_aFunction · 0.68
test_cFunction · 0.68
test_dFunction · 0.68
test_fFunction · 0.68
test_gFunction · 0.68
test_h_arrFunction · 0.68
test_hFunction · 0.68
print_valueFunction · 0.68
test_jFunction · 0.68
test_nFunction · 0.68
test_oFunction · 0.68
test_pFunction · 0.68