almost finished the byte cci handler. yet to test more
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-02-18 18:21:24 +09:00
parent 20d8a81a34
commit ca1e82816d
4 changed files with 29 additions and 15 deletions

View File

@ -1867,7 +1867,7 @@ static int print_bcs (hcl_fmtout_t* fmtout, const hcl_bch_t* ptr, hcl_oow_t len)
if (HCL_UNLIKELY(!hcl->io.udo_wrtr))
{
hcl_seterrmsg (hcl, HCL_EINVAL, "no user-defined output handler");
hcl_seterrbmsg (hcl, HCL_EINVAL, "no user-defined output handler");
return -1;
}
@ -1895,7 +1895,7 @@ static int print_ucs (hcl_fmtout_t* fmtout, const hcl_uch_t* ptr, hcl_oow_t len)
if (HCL_UNLIKELY(!hcl->io.udo_wrtr))
{
hcl_seterrmsg (hcl, HCL_EINVAL, "no user-defined output handler");
hcl_seterrbmsg (hcl, HCL_EINVAL, "no user-defined output handler");
return -1;
}