core

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B2S

func B2S(b []byte) string

func LTableToMap

func LTableToMap[T any](tbl *lua.LTable) (map[string]T, error)

func LTableToStrut

func LTableToStrut(tbl *lua.LTable, out any) error

func MapToLTable

func MapToLTable(L *lua.LState, m any) *lua.LTable

func NewFunction added in v0.5.0

func NewFunction(fn lua.LGFunction) *lua.LFunction

NewFunction for AssertFunction run without LState's env

func S2B

func S2B(s string) (b []byte)

func SubModIndex

func SubModIndex(L *lua.LState, key string, objs ...lua.LValue) lua.LValue

Types

This section is empty.

Jump to

Keyboard shortcuts

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