Documentation
¶
Index ¶
- Variables
- func Loader(ls *lua.LState) int
- func Lua64Eq(ls *lua.LState) int
- func Lua64Le(ls *lua.LState) int
- func Lua64Lt(ls *lua.LState) int
- func LuaI64Index(ls *lua.LState) int
- func LuaI64String(ls *lua.LState) int
- func LuaU64Index(ls *lua.LState) int
- func LuaU64String(ls *lua.LState) int
- type UserDataType
- func (udt *UserDataType[T]) Check(ls *lua.LState, idx int) (*lua.LUserData, T)
- func (udt *UserDataType[T]) Metatable(ls *lua.LState) lua.LValue
- func (udt *UserDataType[T]) New(ls *lua.LState, val T) *lua.LUserData
- func (udt *UserDataType[T]) NewMetatable(ls *lua.LState) *lua.LTable
- func (udt *UserDataType[T]) StartIndex(ls *lua.LState) (T, string)
- func (udt *UserDataType[T]) StartMethod(ls *lua.LState) T
Constants ¶
This section is empty.
Variables ¶
View Source
var ( I64 = UserDataType[int64]{Name: "flatbuffers_i64"} U64 = UserDataType[uint64]{Name: "flatbuffers_u64"} )
Functions ¶
func LuaI64Index ¶
func LuaI64Index(ls *lua.LState) int
func LuaI64String ¶
func LuaI64String(ls *lua.LState) int
func LuaU64Index ¶
func LuaU64Index(ls *lua.LState) int
func LuaU64String ¶
func LuaU64String(ls *lua.LState) int
Types ¶
type UserDataType ¶
func (*UserDataType[T]) Check ¶
func (udt *UserDataType[T]) Check(ls *lua.LState, idx int) (*lua.LUserData, T)
func (*UserDataType[T]) Metatable ¶
func (udt *UserDataType[T]) Metatable(ls *lua.LState) lua.LValue
func (*UserDataType[T]) New ¶
func (udt *UserDataType[T]) New(ls *lua.LState, val T) *lua.LUserData
func (*UserDataType[T]) NewMetatable ¶
func (udt *UserDataType[T]) NewMetatable(ls *lua.LState) *lua.LTable
func (*UserDataType[T]) StartIndex ¶
func (udt *UserDataType[T]) StartIndex(ls *lua.LState) (T, string)
func (*UserDataType[T]) StartMethod ¶
func (udt *UserDataType[T]) StartMethod(ls *lua.LState) T
Click to show internal directories.
Click to hide internal directories.