host

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

func NewHostArray(objId int32, typeId int32) *HostArray

func (*HostArray) GetInt

func (h *HostArray) GetInt(ctx interfaces.HostInterface, keyId int32) int64

func (*HostArray) GetLength added in v0.0.13

func (h *HostArray) GetLength(ctx interfaces.HostInterface) int32

func (*HostArray) GetObject added in v0.0.13

func (h *HostArray) GetObject(ctx interfaces.HostInterface, keyId int32, typeId int32) int32

func (*HostArray) GetString

func (h *HostArray) GetString(ctx interfaces.HostInterface, keyId int32) string

func (*HostArray) SetInt

func (h *HostArray) SetInt(ctx interfaces.HostInterface, keyId int32, value int64)

func (*HostArray) SetString

func (h *HostArray) SetString(ctx interfaces.HostInterface, keyId int32, value string)

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()

func (*HostImpl) GetInt added in v0.0.12

func (h *HostImpl) GetInt(objId int32, keyId int32) int64

func (*HostImpl) GetKey added in v0.0.12

func (h *HostImpl) GetKey(key string) int32

func (*HostImpl) GetLength added in v0.0.12

func (h *HostImpl) GetLength(objId int32) int32

func (*HostImpl) GetObject added in v0.0.12

func (h *HostImpl) GetObject(objId int32, keyId int32, typeId int32) int32

func (*HostImpl) GetString added in v0.0.12

func (h *HostImpl) GetString(objId int32, keyId int32) string

func (*HostImpl) HasError added in v0.0.12

func (h *HostImpl) HasError() bool

func (*HostImpl) Log added in v0.0.12

func (h *HostImpl) Log(logLevel int, text string)

func (*HostImpl) SetError added in v0.0.12

func (h *HostImpl) SetError(text string)

func (*HostImpl) SetInt added in v0.0.12

func (h *HostImpl) SetInt(objId int32, keyId int32, value int64)

func (*HostImpl) SetString added in v0.0.12

func (h *HostImpl) SetString(objId int32, keyId int32, value string)

type HostMap

type HostMap struct {
	// contains filtered or unexported fields
}

func NewHostMap added in v0.0.13

func NewHostMap(objId int32) *HostMap

func (*HostMap) GetInt added in v0.0.5

func (h *HostMap) GetInt(ctx interfaces.HostInterface, keyId int32) int64

func (*HostMap) GetLength added in v0.0.13

func (h *HostMap) GetLength(ctx interfaces.HostInterface) int32

func (*HostMap) GetObject added in v0.0.13

func (h *HostMap) GetObject(ctx interfaces.HostInterface, keyId int32, typeId int32) int32

func (*HostMap) GetString added in v0.0.5

func (h *HostMap) GetString(ctx interfaces.HostInterface, keyId int32) string

func (*HostMap) SetInt added in v0.0.5

func (h *HostMap) SetInt(ctx interfaces.HostInterface, keyId int32, value int64)

func (*HostMap) SetString added in v0.0.5

func (h *HostMap) SetString(ctx interfaces.HostInterface, keyId int32, value string)

type HostObject

type HostObject interface {
	GetInt(ctx interfaces.HostInterface, keyId int32) int64
	GetLength(ctx interfaces.HostInterface) int32
	GetObject(ctx interfaces.HostInterface, keyId int32, typeId int32) int32
	GetString(ctx interfaces.HostInterface, keyId int32) string
	SetInt(ctx interfaces.HostInterface, keyId int32, value int64)
	SetString(ctx interfaces.HostInterface, keyId int32, value string)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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