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

Function cson_value_fetch_integer

cson/cson.c:563–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
566 return 0;
567}
568cson_value *cson_new_int(cson_int_t v)
569{
570 return cson_value_new_integer(v);

Callers 1

get_intpropFunction · 0.85

Calls 1

cson_value_get_integerFunction · 0.85

Tested by

no test coverage detected