| 561 | return val->u.num; |
| 562 | } |
| 563 | int cson_value_fetch_integer(cson_value const *val, cson_int_t *v) |
| 564 | { |
| 565 | *v = cson_value_get_integer(val); |
| 566 | return 0; |
| 567 | } |
| 568 | cson_value *cson_new_int(cson_int_t v) |
| 569 | { |
| 570 | return cson_value_new_integer(v); |
no test coverage detected