Versions in this module Expand all Collapse all v1 v1.0.0 Sep 11, 2020 Changes in this version + func RegisterCExtern(name string, e unsafe.Pointer) + func RegisterGoExtern(name string, e Extern) + type Encodable interface + Encode func([]byte) bool + type Env struct + Arena arena.Arena + Executor *Executor + func GetEnv(c unsafe.Pointer) *Env + func (e *Env) Any(p unsafe.Pointer) interface{} + func (e *Env) CContext() unsafe.Pointer + func (e *Env) Context() context.Context + func (e *Env) Dispose() + func (e *Env) Execute(ctx context.Context, cmd api.Cmd, id api.CmdID) error + func (e *Env) GetBytes(rng memory.Range) []byte + func (e *Env) Globals() []byte + func (e *Env) Message(p unsafe.Pointer) *stringtable.Msg + type Executor struct + func New(prog *compiler.Program, optimize bool) *Executor + func (e *Executor) FunctionAddress(name string) unsafe.Pointer + func (e *Executor) NewEnv(ctx context.Context, capture *capture.GraphicsCapture) *Env + type Extern func(e *Env, args, res unsafe.Pointer)