Documentation ¶
Index ¶
- func Marshal(state *lua.LState, v any) (lua.LValue, error)
- func Unmarshal(value lua.LValue, v any) error
- type LuaVM
- func (vm *LuaVM) CallFunction(function lua.LValue, args ...lua.LValue) error
- func (vm *LuaVM) Close()
- func (vm *LuaVM) GetTableString(table *lua.LTable, key string) string
- func (vm *LuaVM) LimitPackagePath(packagePaths ...string)
- func (vm *LuaVM) Prepare(options *PrepareOptions) error
- func (vm *LuaVM) ReturnedValue() *lua.LTable
- type PrepareOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LuaVM ¶
func (*LuaVM) CallFunction ¶
func (*LuaVM) GetTableString ¶
func (*LuaVM) LimitPackagePath ¶ added in v0.3.0
LimitPackagePath limits the package path of the Lua VM.
func (*LuaVM) Prepare ¶
func (vm *LuaVM) Prepare(options *PrepareOptions) error
func (*LuaVM) ReturnedValue ¶
type PrepareOptions ¶
Click to show internal directories.
Click to hide internal directories.