Documentation ¶
Index ¶
- func FuncName() string
- func OpenPlume(L *Stack)
- type CFunction
- type Stack
- func (L *Stack) AddPackagePath(path string)
- func (L *Stack) BeginModule(name string)
- func (L *Stack) BeginUserType(name string)
- func (L *Stack) Class(lname, name, base string)
- func (L *Stack) Clean()
- func (L *Stack) Close()
- func (L *Stack) EndModule()
- func (L *Stack) EndUserType(name string)
- func (L *Stack) Error(format string, a ...interface{}) int
- func (L *Stack) ExecuteFunction(f *C.tolua_FunctionRef, nargs, nresults int)
- func (L *Stack) ExecuteGlobalFunction(funcname string, nargs, nresults int)
- func (L *Stack) ExecuteString(codes string)
- func (L *Stack) FormatIndex(index int) int
- func (L *Stack) Function(name string, f CFunction)
- func (L *Stack) GetTop() int
- func (L *Stack) IsUserTable(index int, name string) bool
- func (L *Stack) Load(modname string)
- func (L *Stack) Module(name string)
- func (L *Stack) Pop(n int)
- func (L *Stack) PushBool(value bool)
- func (L *Stack) PushFloat32(value float32)
- func (L *Stack) PushFloat64(value float64)
- func (L *Stack) PushFunctionRef(f *C.tolua_FunctionRef)
- func (L *Stack) PushInt(value int)
- func (L *Stack) PushInt32(value int32)
- func (L *Stack) PushInt64(value int64)
- func (L *Stack) PushLString(value string)
- func (L *Stack) PushLightUserdata(p unsafe.Pointer)
- func (L *Stack) PushNil()
- func (L *Stack) PushString(value string)
- func (L *Stack) PushUserType(p unsafe.Pointer, name string)
- func (L *Stack) Reload(modname string)
- func (L *Stack) RemoveFunctionRef(f *C.tolua_FunctionRef)
- func (L *Stack) ToBool(index int) bool
- func (L *Stack) ToFloat32(index int) float32
- func (L *Stack) ToFloat64(index int) float64
- func (L *Stack) ToFunctionRef(index int) *C.tolua_FunctionRef
- func (L *Stack) ToInt(index int) int
- func (L *Stack) ToInt32(index int) int32
- func (L *Stack) ToInt64(index int) int64
- func (L *Stack) ToLString(index int) string
- func (L *Stack) ToString(index int) string
- func (L *Stack) ToUserType(index int, name string) unsafe.Pointer
- func (L *Stack) ToUserdata(index int) unsafe.Pointer
- func (L *Stack) Unload(modname string)
- func (L *Stack) UserType(name string, col CFunction)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CFunction ¶
type CFunction = C.lua_CFunction
type Stack ¶
func (*Stack) AddPackagePath ¶
func (*Stack) BeginModule ¶
func (*Stack) BeginUserType ¶
func (*Stack) EndUserType ¶
func (*Stack) ExecuteFunction ¶
func (L *Stack) ExecuteFunction(f *C.tolua_FunctionRef, nargs, nresults int)
func (*Stack) ExecuteGlobalFunction ¶
excute
func (*Stack) ExecuteString ¶
func (*Stack) FormatIndex ¶
func (*Stack) PushFloat32 ¶
func (*Stack) PushFloat64 ¶
func (*Stack) PushFunctionRef ¶
func (L *Stack) PushFunctionRef(f *C.tolua_FunctionRef)
func (*Stack) PushLString ¶
func (*Stack) PushLightUserdata ¶
func (*Stack) PushString ¶
func (*Stack) ToFunctionRef ¶
func (L *Stack) ToFunctionRef(index int) *C.tolua_FunctionRef
Click to show internal directories.
Click to hide internal directories.