Documentation ¶
Overview ¶
Package helper provides gopher-lua helper functions.
Index ¶
- func Check(L *lua.LState, idx0 int, args ...interface{})
- func CheckAnyList(L *lua.LState, n int) []lua.LValue
- func CheckIntList(L *lua.LState, n int) []int
- func CheckStringList(L *lua.LState, n int) []string
- func DoScript(L *lua.LState, path, content string) error
- func MakeArray(L *lua.LState, args ...interface{}) *lua.LTable
- func MakeIntList(L *lua.LState, args ...int) *lua.LTable
- func MakeStringList(L *lua.LState, args ...string) *lua.LTable
- func RetBool(L *lua.LState, v bool) int
- func RetError(L *lua.LState, err error) int
- func RetInt(L *lua.LState, v int) int
- func RetIntList(L *lua.LState, vs []int) int
- func RetString(L *lua.LState, v string) int
- func RetStringList(L *lua.LState, vs []string) int
- func Return(L *lua.LState, args ...interface{}) int
- func Run(L *lua.LState, code string, args ...interface{}) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.