Versions in this module Expand all Collapse all v0 v0.3.1 Nov 11, 2025 v0.3.0 Aug 28, 2025 v0.2.0 Apr 8, 2025 v0.1.0 Apr 2, 2025 Changes in this version + const BOOLEAN + const ERRERR + const ERRMEM + const ERRRUN + const ERRSYNTAX + const EXTRASPACE + const FUNCTION + const GCCOLLECT + const GCCOUNT + const GCCOUNTB + const GCGEN + const GCINC + const GCISRUNNING + const GCRESTART + const GCSETPAUSE + const GCSETSTEPMUL + const GCSTEP + const GCSTOP + const HOOKCALL + const HOOKCOUNT + const HOOKLINE + const HOOKRET + const HOOKTAILCALL + const IDSIZE + const LIGHTUSERDATA + const LLGoPackage + const MASKCALL + const MASKCOUNT + const MASKLINE + const MASKRET + const MAXSTACK + const MINSTACK + const MULTRET + const NIL + const NONE + const NUMBER + const NUMTAGS + const NUMTYPES + const OK + const REGISTRYINDEX + const RIDX_GLOBALS + const RIDX_LAST + const RIDX_MAINTHREAD + const STRING + const TABLE + const THREAD + const USERDATA + const YIELD + func Upvalueindex(i c.Int) c.Int + type Alloc func(ud c.Pointer, ptr c.Pointer, osize c.Ulong, nsize c.Ulong) c.Pointer + type CFunction func(L *State) c.Int + type CallInfo struct + Unused [8]byte + type Debug struct + Currentline c.Int + Event c.Int + Ftransfer uint16 + ICi *CallInfo + Istailcall c.Char + Isvararg c.Char + Lastlinedefined c.Int + Linedefined c.Int + Name *c.Char + Namewhat *c.Char + Nparams byte + Ntransfer uint16 + Nups byte + ShortSrc [IDSIZE]c.Char + Source *c.Char + Srclen uintptr + What *c.Char + type Hook func(L *State, ar *Debug) + type Integer = c.Int + type KContext = c.Pointer + type KFunction func(L *State, status c.Int, ctx KContext) c.Int + type Number = c.Double + type Reader func(L *State, ud c.Pointer, sz *c.Ulong) *c.Char + type State struct + Unused [8]byte + func Newstate__0(f Alloc, ud c.Pointer) *State + func Newstate__1() *State + func (L *State) Absindex(idx c.Int) c.Int + func (L *State) Atpanic(panicf CFunction) CFunction + func (L *State) Call(nargs c.Int, nresults c.Int) c.Int + func (L *State) Callk(nargs c.Int, nresults c.Int, ctx KContext, k KFunction) c.Int + func (L *State) Checkinteger(arg c.Int) Integer + func (L *State) Checknumber(arg c.Int) Number + func (L *State) Checkstack(n c.Int) c.Int + func (L *State) Close() + func (L *State) Closeslot(idx c.Int) + func (L *State) Closethread(from *State) c.Int + func (L *State) Concat(n c.Int) + func (L *State) Copy(fromidx c.Int, toidx c.Int) + func (L *State) Createtable(narr c.Int, nrec c.Int) + func (L *State) Dofile(filename *c.Char) c.Int + func (L *State) Dostring(str *c.Char) c.Int + func (L *State) Dump(writer Writer, data c.Pointer, strip c.Int) c.Int + func (L *State) Error() c.Int + func (L *State) Gc(what c.Int, __llgo_va_list ...any) c.Int + func (L *State) Getallocf(ud *c.Pointer) Alloc + func (L *State) Getextraspace() c.Pointer + func (L *State) Getfield(idx c.Int, k *c.Char) c.Int + func (L *State) Getglobal(name *c.Char) c.Int + func (L *State) Gethook() Hook + func (L *State) Gethookcount() c.Int + func (L *State) Gethookmask() c.Int + func (L *State) Geti(idx c.Int, n Integer) c.Int + func (L *State) Getinfo(what *c.Char, ar *Debug) c.Int + func (L *State) Getiuservalue(idx c.Int, n c.Int) c.Int + func (L *State) Getlocal(ar *Debug, n c.Int) *c.Char + func (L *State) Getmetatable(objindex c.Int) c.Int + func (L *State) Getstack(level c.Int, ar *Debug) c.Int + func (L *State) Gettable(idx c.Int) c.Int + func (L *State) Gettop() c.Int + func (L *State) Getupvalue(funcindex c.Int, n c.Int) *c.Char + func (L *State) Getuservalue(idx c.Int) c.Int + func (L *State) Insert(idx c.Int) + func (L *State) Isboolean(n c.Int) bool + func (L *State) Iscfunction(idx c.Int) c.Int + func (L *State) Isfunction(n c.Int) bool + func (L *State) Isinteger(idx c.Int) c.Int + func (L *State) Islightuserdata(n c.Int) bool + func (L *State) Isnil(n c.Int) bool + func (L *State) Isnone(n c.Int) bool + func (L *State) Isnoneornil(n c.Int) bool + func (L *State) Isnumber(idx c.Int) c.Int + func (L *State) Isstring(idx c.Int) c.Int + func (L *State) Istable(n c.Int) bool + func (L *State) Isthread(n c.Int) bool + func (L *State) Isuserdata(idx c.Int) c.Int + func (L *State) Isyieldable() c.Int + func (L *State) LError(format *c.Char, __llgo_va_list ...any) c.Int + func (L *State) Len(idx c.Int) + func (L *State) Load(reader Reader, dt c.Pointer, chunkname *c.Char, mode *c.Char) c.Int + func (L *State) Loadfile(filename *c.Char) c.Int + func (L *State) Loadfilex(filename *c.Char, mode *c.Char) c.Int + func (L *State) Loadstring(s *c.Char) c.Int + func (L *State) Newtable() + func (L *State) Newthread() *State + func (L *State) Newuserdata(sz uintptr) c.Pointer + func (L *State) Newuserdatauv(sz uintptr, nuvalue c.Int) c.Pointer + func (L *State) Next(idx c.Int) c.Int + func (L *State) Openlibs() + func (L *State) Pcall(nargs c.Int, nresults c.Int, errfunc c.Int) c.Int + func (L *State) Pcallk(nargs c.Int, nresults c.Int, errfunc c.Int, ctx KContext, k KFunction) c.Int + func (L *State) Pop(n c.Int) + func (L *State) Pushboolean(b c.Int) + func (L *State) Pushcclosure(fn CFunction, n c.Int) + func (L *State) Pushcfunction(f CFunction) + func (L *State) Pushfstring(format *c.Char, __llgo_va_list ...any) *c.Char + func (L *State) Pushglobaltable() c.Int + func (L *State) Pushinteger(n Integer) + func (L *State) Pushlightuserdata(p c.Pointer) + func (L *State) Pushliteral(s *c.Char) *c.Char + func (L *State) Pushlstring(s *c.Char, len c.Ulong) *c.Char + func (L *State) Pushnil() + func (L *State) Pushnumber(n Number) + func (L *State) Pushstring(s *c.Char) *c.Char + func (L *State) Pushthread() c.Int + func (L *State) Pushvalue(idx c.Int) + func (L *State) Rawget(idx c.Int) c.Int + func (L *State) Rawgeti(idx c.Int, n Integer) c.Int + func (L *State) Rawgetp(idx c.Int, p c.Pointer) c.Int + func (L *State) Rawset(idx c.Int) + func (L *State) Rawseti(idx c.Int, n Integer) + func (L *State) Rawsetp(idx c.Int, p c.Pointer) + func (L *State) Register(name *c.Char, f CFunction) + func (L *State) Remove(idx c.Int) + func (L *State) Replace(idx c.Int) + func (L *State) Resetthread(from *State) c.Int + func (L *State) Resume(from *State, narg c.Int, nres *c.Int) c.Int + func (L *State) Rotate(idx c.Int, n c.Int) + func (L *State) Setallocf(f Alloc, ud c.Pointer) Alloc + func (L *State) Setcstacklimit(limit c.Uint) c.Int + func (L *State) Setfield(idx c.Int, k *c.Char) + func (L *State) Setglobal(name *c.Char) + func (L *State) Sethook(fn Hook, mask c.Int, count c.Int) + func (L *State) Seti(idx c.Int, n Integer) + func (L *State) Setiuservalue(idx c.Int, n c.Int) c.Int + func (L *State) Setlocal(ar *Debug, n c.Int) *c.Char + func (L *State) Setmetatable(objindex c.Int) c.Int + func (L *State) Settable(idx c.Int) + func (L *State) Settop(idx c.Int) + func (L *State) Setupvalue(funcindex c.Int, n c.Int) *c.Char + func (L *State) Setuservalue(idx c.Int) c.Int + func (L *State) Setwarnf(f WarnFunction, ud c.Pointer) + func (L *State) Status() c.Int + func (L *State) Stringtonumber(s *c.Char) c.Ulong + func (L *State) Toboolean(idx c.Int) bool + func (L *State) Tocfunction(idx c.Int) CFunction + func (L *State) Toclose(idx c.Int) + func (L *State) Tointeger(idx c.Int) Integer + func (L *State) Tointegerx(idx c.Int, isnum *c.Int) Integer + func (L *State) Tolstring(idx c.Int, len *c.Ulong) *c.Char + func (L *State) Tonumber(idx c.Int) Number + func (L *State) Tonumberx(idx c.Int, isnum *c.Int) Number + func (L *State) Topointer(idx c.Int) c.Pointer + func (L *State) Tostring(idx c.Int) *c.Char + func (L *State) Tothread(idx c.Int) *State + func (L *State) Touserdata(idx c.Int) c.Pointer + func (L *State) Type(idx c.Int) c.Int + func (L *State) Typename(tp c.Int) *c.Char + func (L *State) Upvalueid(fidx c.Int, n c.Int) c.Pointer + func (L *State) Upvaluejoin(fidx1 c.Int, n1 c.Int, fidx2 c.Int, n2 c.Int) + func (L *State) Version() Number + func (L *State) Warning(msg *c.Char, tocont c.Int) + func (L *State) Xmove(to *State, n c.Int) + func (L *State) Yield(nresults c.Int) c.Int + func (L *State) Yieldk(nresults c.Int, ctx KContext, k KFunction) c.Int + type Unsigned = c.Uint + type WarnFunction func(ud c.Pointer, msg c.Char, tocont c.Int) + type Writer func(L *State, p c.Pointer, sz c.Ulong, ud c.Pointer) c.Int