luart

package
v0.18.4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(name string, r io.Reader) (*lua.State, error)

func GetObjectAttribute added in v0.17.1

func GetObjectAttribute[T any](obj LuaObject, name string) (T, error)

func LoadTadoModule added in v0.17.1

func LoadTadoModule(now func() time.Time) func(*lua.State) int

func New added in v0.17.1

func New() *lua.State

func NewWithTime added in v0.17.1

func NewWithTime(now func() time.Time) *lua.State

Types

type LuaObject added in v0.17.1

type LuaObject map[string]any

func GetObject added in v0.17.1

func GetObject(l *lua.State, index int) LuaObject

func (LuaObject) Push added in v0.17.1

func (o LuaObject) Push(l *lua.State)

Jump to

Keyboard shortcuts

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