Documentation ¶
Index ¶
- func DebugValue(st *lua.State, at int)
- func RegisterAPI(api API)
- type API
- type Func
- type Instance
- type M
- type Script
- func (s *Script) ExecFile(path string) error
- func (s *Script) Hub() *hub.Hub
- func (s *Script) Name() string
- func (s *Script) Push(v interface{})
- func (s *Script) Set(k string, o interface{})
- func (s *Script) SetRawFuncMap(k string, m map[string]lua.Function)
- func (s *Script) SetStringMap(k string, m map[string]string)
- func (s *Script) State() *lua.State
- func (s *Script) ToFunc(index int, ret int) *Func
- func (s *Script) ToFuncOn(st *lua.State, index int, ret int) *Func
- type UserData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugValue ¶ added in v0.20.0
func RegisterAPI ¶ added in v0.20.0
func RegisterAPI(api API)
Types ¶
type Script ¶
type Script struct {
// contains filtered or unexported fields
}
func (*Script) SetRawFuncMap ¶ added in v0.20.0
func (*Script) SetStringMap ¶ added in v0.20.0
Click to show internal directories.
Click to hide internal directories.