c/lua:alloc

This commit is contained in:
luoliwoshang
2024-09-16 23:12:33 +08:00
parent c6345279cc
commit e3cb4ebfdc
19 changed files with 60 additions and 37 deletions

View File

@@ -33,8 +33,8 @@ func (L *State) Loadfile(filename *c.Char) c.Int { return L.Loadfilex(filename,
// llgo:link (*State).Loadstring C.luaL_loadstring
func (L *State) Loadstring(s *c.Char) c.Int { return 0 }
//go:linkname Newstate C.luaL_newstate
func Newstate() *State
//go:linkname Newstate__1 C.luaL_newstate
func Newstate__1() *State { return nil }
// /*
// ** ===============================================================