fixed the assertion failure that arose when a built-in global variable is set with -v.
All checks were successful
continuous-integration/drone/push Build is passing

changed multiple open functions to accept hawk_errinfo_t* instead of hawk_errnum_t*
This commit is contained in:
2025-10-01 13:55:02 +09:00
parent 5d7ec0cc1f
commit 99959cf35d
27 changed files with 344 additions and 227 deletions

View File

@ -1570,7 +1570,7 @@ HAWK_EXPORT hawk_t* hawk_open (
hawk_oow_t xtnsize, /**< extension size in bytes */
hawk_cmgr_t* cmgr, /**< character conversion manager */
const hawk_prm_t* prm, /**< pointer to a primitive function structure */
hawk_errnum_t* errnum /**< pointer to an error number varaible */
hawk_errinf_t* errinf /**< pointer to an error number varaible */
);
/**
@ -3566,7 +3566,6 @@ HAWK_EXPORT void hawk_rtx_getnrflt (
hawk_nrflt_t* nrflt
);
#if defined(HAWK_HAVE_INLINE)
static HAWK_INLINE void* hawk_rtx_allocmem (hawk_rtx_t* rtx, hawk_oow_t size) { return hawk_gem_allocmem(hawk_rtx_getgem(rtx), size); }
static HAWK_INLINE void* hawk_rtx_reallocmem (hawk_rtx_t* rtx, void* ptr, hawk_oow_t size) { return hawk_gem_reallocmem(hawk_rtx_getgem(rtx), ptr, size); }