Help us shape the future of Go! Take the 2026 Go Developer Survey

glua

package module
v0.0.0-...-d90ae6c Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(filePath string, methodName string, args ...interface{}) (interface{}, error)

func ExpireScript

func ExpireScript(filePath string)

func LoadScript

func LoadScript(filePath string) (string, error)

func LuaNumberToFloat32

func LuaNumberToFloat32(value interface{}) (float32, error)

func LuaNumberToFloat64

func LuaNumberToFloat64(value interface{}) (float64, error)

func LuaNumberToInt

func LuaNumberToInt(value interface{}) (int, error)

func LuaNumberToInt32

func LuaNumberToInt32(value interface{}) (int32, error)

func LuaNumberToInt64

func LuaNumberToInt64(value interface{}) (int64, error)

func RefreshScriptCache

func RefreshScriptCache()

func RegisterExternMethod

func RegisterExternMethod(methodName string, method func(...interface{}) (interface{}, error)) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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