sku_lua

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromLuaTableV1

func FromLuaTableV1(
	object *sku.Transacted,
	luaState *lua.LState,
	luaTable *LuaTableV1,
) (err error)

func FromLuaTableV2

func FromLuaTableV2(
	object *sku.Transacted,
	luaState *lua.LState,
	luaTable *LuaTableV2,
) (err error)

func ToLuaTableV1

func ToLuaTableV1(
	tg sku.TransactedGetter,
	luaState *lua.LState,
	luaTable *LuaTableV1,
)

func ToLuaTableV2

func ToLuaTableV2(
	tg sku.TransactedGetter,
	luaState *lua.LState,
	luaTable *LuaTableV2,
)

Types

type LuaTablePoolV1

type LuaTablePoolV1 = interfaces.PoolPtr[LuaTableV1, *LuaTableV1]

func MakeLuaTablePoolV1

func MakeLuaTablePoolV1(vm *lua.VM) LuaTablePoolV1

type LuaTablePoolV2

type LuaTablePoolV2 = interfaces.PoolPtr[LuaTableV2, *LuaTableV2]

func MakeLuaTablePoolV2

func MakeLuaTablePoolV2(vm *lua.VM) LuaTablePoolV2

type LuaTableV1

type LuaTableV1 struct {
	Transacted   *lua.LTable
	Tags         *lua.LTable
	TagsImplicit *lua.LTable
}

type LuaTableV2

type LuaTableV2 struct {
	Transacted *lua.LTable

	// TODO transition to single Tags table with Tag objects that reflect
	// tag_paths.PathWithType
	Tags         *lua.LTable
	TagsImplicit *lua.LTable
}

type LuaVMPoolV1

type LuaVMPoolV1 = interfaces.PoolPtr[LuaVMV1, *LuaVMV1]

func MakeLuaVMPoolV1

func MakeLuaVMPoolV1(vmPool *lua.VMPool, self *sku.Transacted) LuaVMPoolV1

type LuaVMPoolV2

type LuaVMPoolV2 = interfaces.PoolPtr[LuaVMV2, *LuaVMV2]

func MakeLuaVMPoolV2

func MakeLuaVMPoolV2(luaVMPool *lua.VMPool, self *sku.Transacted) LuaVMPoolV2

type LuaVMV1

type LuaVMV1 struct {
	lua.LValue
	*lua.VM
	TablePool LuaTablePoolV1
	Selbst    *sku.Transacted
}

func PushTopFuncV1

func PushTopFuncV1(
	lvm LuaVMPoolV1,
	args []string,
) (vm *LuaVMV1, argsOut []string, err error)

type LuaVMV2

type LuaVMV2 struct {
	lua.LValue
	*lua.VM
	TablePool LuaTablePoolV2
	Selbst    *sku.Transacted
}

func PushTopFuncV2

func PushTopFuncV2(
	luaVMPool LuaVMPoolV2,
	args []string,
) (vm *LuaVMV2, argsOut []string, err error)

Source Files

  • lua_transacted_v1.go
  • lua_transacted_v1_pool.go
  • lua_transacted_v2.go
  • lua_transacted_v2_pool.go

Jump to

Keyboard shortcuts

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