Documentation
¶
Index ¶
- func CreateHostModule()
- type HostArray
- func (h *HostArray) GetInt(keyId int32) int64
- func (h *HostArray) GetLength() int32
- func (h *HostArray) GetObject(keyId int32, typeId int32) int32
- func (h *HostArray) GetString(keyId int32) string
- func (h *HostArray) SetInt(keyId int32, value int64)
- func (h *HostArray) SetString(keyId int32, value string)
- type HostImpl
- func (h *HostImpl) AddObjects()
- func (h *HostImpl) GetInt(objId int32, keyId int32) int64
- func (h *HostImpl) GetKey(key string) int32
- func (h *HostImpl) GetObject(objId int32, keyId int32, typeId int32) int32
- func (h *HostImpl) GetString(objId int32, keyId int32) string
- func (h *HostImpl) HasError() bool
- func (h *HostImpl) Log(logLevel int, text string)
- func (h *HostImpl) SetError(text string)
- func (h *HostImpl) SetInt(objId int32, keyId int32, value int64)
- func (h *HostImpl) SetString(objId int32, keyId int32, value string)
- type HostMap
- type HostObject
- type Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHostModule ¶ added in v0.0.9
func CreateHostModule()
Types ¶
type HostArray ¶
type HostArray struct {
// contains filtered or unexported fields
}
func NewHostArray ¶ added in v0.0.13
type HostImpl ¶ added in v0.0.12
type HostImpl struct {
// contains filtered or unexported fields
}
func NewHostImpl ¶ added in v0.0.12
func NewHostImpl() *HostImpl
func (*HostImpl) AddObjects ¶ added in v0.0.14
func (h *HostImpl) AddObjects()
type HostMap ¶
type HostMap struct {
// contains filtered or unexported fields
}
func NewHostMap ¶ added in v0.0.13
type HostObject ¶
type HostObject interface {
GetInt(keyId int32) int64
GetObject(keyId int32, typeId int32) int32
GetString(keyId int32) string
SetInt(keyId int32, value int64)
SetString(keyId int32, value string)
}
func NewNullObject ¶ added in v0.0.15
func NewNullObject(h interfaces.HostInterface) HostObject
type Tracker ¶ added in v0.0.15
type Tracker struct {
// contains filtered or unexported fields
}
func NewTracker ¶ added in v0.0.15
func NewTracker() *Tracker
func (*Tracker) AddObject ¶ added in v0.0.15
func (t *Tracker) AddObject(obj HostObject) int32
func (*Tracker) GetObject ¶ added in v0.0.15
func (t *Tracker) GetObject(objId int32) HostObject
Source Files
¶
Click to show internal directories.
Click to hide internal directories.