updated hak_open()/hak_openstd()/etc to accept the pointer to hak_errinf_t to convey an error message upon instantiation failure.

added hak_errbint_t and hak_erruinf_t and related functions
enhanced the wchar_t detection for wide_char yes:4w
This commit is contained in:
2025-10-06 00:59:20 +09:00
parent 78f43c8b4f
commit 56dfb3630e
13 changed files with 298 additions and 143 deletions

View File

@ -251,7 +251,7 @@ HAK_EXPORT hak_server_t* hak_server_open (
hak_mmgr_t* mmgr,
hak_oow_t xtnsize,
hak_server_prim_t* prim,
hak_errnum_t* errnum
hak_errinf_t* errinf
);
HAK_EXPORT void hak_server_close (
@ -372,7 +372,7 @@ HAK_EXPORT hak_client_t* hak_client_open (
hak_mmgr_t* mmgr,
hak_oow_t xtnsize,
hak_client_prim_t* prim,
hak_errnum_t* errnum
hak_errinf_t* errinf
);
HAK_EXPORT void hak_client_close (