lua

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LuaPool = types.NewPool(64)

Global LState pool

Functions

func LValueToInterface

func LValueToInterface(val lua.LValue) interface{}

LValueToInterface converts a generic LValue to a native type

func LuaPath

func LuaPath() string

LuaPath returns the interpreter's current Lua Path

func NewLuaStream

func NewLuaStream(L *lua.LState, stream chan interface{}) *lua.LUserData

NewLuaStream creates a LuaStream

func NewValue

func NewValue(L *lua.LState, value interface{}) lua.LValue

NewValue creates a value from interface{} in the interpreter

func SetPath

func SetPath(lpath string)

SetPath sets the interpreter's current Lua Path

Types

type LuaAerospike

type LuaAerospike struct {
	// contains filtered or unexported fields
}

type LuaInstance

type LuaInstance struct {
	// contains filtered or unexported fields
}

type LuaList

type LuaList struct {
	// contains filtered or unexported fields
}

type LuaMap

type LuaMap struct {
	// contains filtered or unexported fields
}

type LuaStream

type LuaStream struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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