add hcl_attachiostd().

moved the default io handler from bin/main.c to lib/std.c
This commit is contained in:
2023-05-18 10:24:01 +09:00
parent 8f9068c4d3
commit 893e5d4c89
11 changed files with 674 additions and 496 deletions

View File

@ -639,9 +639,8 @@ struct hcl_frd_t
struct hcl_compiler_t
{
/* output handler */
hcl_ioimpl_t printer;
hcl_iooutarg_t outarg;
/* callback pointer registerd upon compiler creation */
hcl_cb_t* cbp;
/* input handler */
hcl_ioimpl_t reader;