added hcl_copy_ucstr_to_bcstr(), hcl_copy_bcstr_to_ucstr(), hcl_errnum_to_errbcstr(), hcl_errnum_to_errucstr()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-29 20:26:48 +09:00
parent dc01f41773
commit e5dc214a59
4 changed files with 181 additions and 96 deletions

View File

@ -2119,6 +2119,18 @@ HCL_EXPORT const hcl_ooch_t* hcl_errnum_to_errstr (
hcl_errnum_t errnum
);
HCL_EXPORT const hcl_bch_t* hcl_errnum_to_errbcstr (
hcl_errnum_t errnum,
hcl_bch_t* buf,
hcl_oow_t len
);
HCL_EXPORT const hcl_uch_t* hcl_errnum_to_errucstr (
hcl_errnum_t errnum,
hcl_uch_t* buf,
hcl_oow_t len
);
/**
* The hcl_getoption() function gets the value of an option
* specified by \a id into the buffer pointed to by \a value.