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

Function cson_value_get_integer

cson/cson.c:559–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557 return cson__type(v) == JSON_INT;
558}
559cson_int_t cson_value_get_integer(cson_value const *val)
560{
561 return val->u.num;
562}
563int cson_value_fetch_integer(cson_value const *val, cson_int_t *v)
564{
565 *v = cson_value_get_integer(val);

Callers 8

dump_paramFunction · 0.85
replayFunction · 0.85
test_h_arrFunction · 0.85
cson_value_fetch_integerFunction · 0.85
_cson_extract_intFunction · 0.85
cson_push_valueFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_h_arrFunction · 0.68