| 38 | } |
| 39 | |
| 40 | void hc_value_write(struct hc_value *v, struct hc_stream *out) { |
| 41 | assert(v->type->write); |
| 42 | v->type->write(v, out); |
| 43 | } |
| 44 | |
| 45 | static void bool_write(const struct hc_value *v, struct hc_stream *out) { |
| 46 | hc_puts(out, v->as_bool ? "true" : "false"); |
no outgoing calls
no test coverage detected