rlua

package
v0.0.0-...-035b4ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(meta *rscript.Meta, cache *scache.SCache) error

func DefaultErrHandler

func DefaultErrHandler(L *lua.State, pan interface{})

func FillGlobalModules

func FillGlobalModules(L *lua.State, ex map[string]interface{})

func FormatStack

func FormatStack(stacks []lua.LuaStackEntry) []lua.LuaStackEntry

func FormatStackToMap

func FormatStackToMap(stacks []lua.LuaStackEntry) []map[string]interface{}

func FormatStackToString

func FormatStackToString(stacks []lua.LuaStackEntry, prefix string, suffix string) string

func GetLuaPath

func GetLuaPath() string

func GetVal

func GetVal(L *lua.State, idx int) (interface{}, error)

func InitState

func InitState() (L *lua.State, err error)

func RunFile

func RunFile(L *lua.State, filename string, errhandler lua.LuaGoErrHandler) (rets []interface{}, err error)

func TokenGlobalModule

func TokenGlobalModule() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL