added hak_makesymbolwithuchars()/hak_makesymbolwithbchars()/hak_makestringwithuchars()/hak_makestirngwithbchars()

fixed some fpc code related to character type configured
This commit is contained in:
2025-10-08 23:38:24 +09:00
parent 56dfb3630e
commit 7504ec1a4c
20 changed files with 406 additions and 132 deletions

View File

@ -10,7 +10,7 @@ import (
type Instance struct {
c *C.hak_t // c object
g *HAK // go object
g *Hak // go object
}
type InstanceTable struct {
@ -19,7 +19,7 @@ type InstanceTable struct {
free_slots []int
}
func (itab *InstanceTable) add_instance(c *C.hak_t, g *HAK) int {
func (itab *InstanceTable) add_instance(c *C.hak_t, g *Hak) int {
itab.mtx.Lock()
defer itab.mtx.Unlock()