changed the free list implementation in hawk-inst.go
All checks were successful
continuous-integration/drone/push Build is passing

added go wrapper functions to manipulate return value and arguments
This commit is contained in:
2025-11-24 00:17:46 +09:00
parent 24c91d3376
commit a5bcb8ea6c
6 changed files with 349 additions and 112 deletions

View File

@@ -2550,7 +2550,7 @@ int Hawk::addFunction (
{
HAWK_ASSERT(this->hawk != HAWK_NULL);
hawk_fnc_mspec_t spec;
hawk_fnc_bspec_t spec;
HAWK_MEMSET (&spec, 0, HAWK_SIZEOF(spec));
spec.arg.min = minArgs;
@@ -2601,7 +2601,7 @@ int Hawk::addFunction (
{
HAWK_ASSERT(this->hawk != HAWK_NULL);
hawk_fnc_wspec_t spec;
hawk_fnc_uspec_t spec;
HAWK_MEMSET (&spec, 0, HAWK_SIZEOF(spec));
spec.arg.min = minArgs;