util

package
v0.0.0-...-674ef51 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check[T any](state *lua.LState, n int) T

func Must

func Must(state *lua.LState, err error)

func NewUserData

func NewUserData[T any](state *lua.LState, t T, typeName string) *lua.LUserData

func Push

func Push[T any](state *lua.LState, t T, typeName string)

func SliceToTable

func SliceToTable[T any](state *lua.LState, items []T, convert func(T) lua.LValue) *lua.LTable

func ToGoValue

func ToGoValue(value lua.LValue) any

Types

This section is empty.

Jump to

Keyboard shortcuts

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