Versions in this module Expand all Collapse all v0 v0.0.0 Aug 25, 2022 Changes in this version + var ErrDivByZero = errors.New("div by zero") + var ErrIntOverflow = errors.New("int overflow") + var ErrOutOfMemory = errors.New("out of memory") + type Context struct + G0 int32 + G1 int32 + G2 int32 + MaxSize int + Mem []byte + func NewContext(f ImportedFuncs) *Context + func (c *Context) Copy() *Context + func (c *Context) Free(p0 int32) + func (c *Context) GetVM() int32 + func (c *Context) Malloc(p0 int32) int32 + func (c *Context) Start() + func (c *Context) WrenAbortFiber(p0 int32, p1 int32) + func (c *Context) WrenCall(p0 int32, p1 int32) int32 + func (c *Context) WrenCollectGarbage(p0 int32) + func (c *Context) WrenEarlyExit(p0 int32) + func (c *Context) WrenEnsureSlots(p0 int32, p1 int32) + func (c *Context) WrenFreeVM(p0 int32) + func (c *Context) WrenGetAllocated(p0 int32) int32 + func (c *Context) WrenGetListCount(p0 int32, p1 int32) int32 + func (c *Context) WrenGetListElement(p0 int32, p1 int32, p2 int32, p3 int32) + func (c *Context) WrenGetMapContainsKey(p0 int32, p1 int32, p2 int32) int32 + func (c *Context) WrenGetMapCount(p0 int32, p1 int32) int32 + func (c *Context) WrenGetMapValue(p0 int32, p1 int32, p2 int32, p3 int32) + func (c *Context) WrenGetSlotBool(p0 int32, p1 int32) int32 + func (c *Context) WrenGetSlotBytes(p0 int32, p1 int32, p2 int32) int32 + func (c *Context) WrenGetSlotCount(p0 int32) int32 + func (c *Context) WrenGetSlotDouble(p0 int32, p1 int32) float64 + func (c *Context) WrenGetSlotForeign(p0 int32, p1 int32) int32 + func (c *Context) WrenGetSlotHandle(p0 int32, p1 int32) int32 + func (c *Context) WrenGetSlotString(p0 int32, p1 int32) int32 + func (c *Context) WrenGetSlotType(p0 int32, p1 int32) int32 + func (c *Context) WrenGetUserData(p0 int32) int32 + func (c *Context) WrenGetVariable(p0 int32, p1 int32, p2 int32, p3 int32) + func (c *Context) WrenGetVersionNumber() int32 + func (c *Context) WrenHasModule(p0 int32, p1 int32) int32 + func (c *Context) WrenHasVariable(p0 int32, p1 int32, p2 int32) int32 + func (c *Context) WrenInitConfiguration(p0 int32) + func (c *Context) WrenInsertInList(p0 int32, p1 int32, p2 int32, p3 int32) + func (c *Context) WrenInterpret(p0 int32, p1 int32, p2 int32) int32 + func (c *Context) WrenMakeCallHandle(p0 int32, p1 int32) int32 + func (c *Context) WrenNewVM(p0 int32) int32 + func (c *Context) WrenReleaseHandle(p0 int32, p1 int32) + func (c *Context) WrenRemoveMapValue(p0 int32, p1 int32, p2 int32, p3 int32) + func (c *Context) WrenSetListElement(p0 int32, p1 int32, p2 int32, p3 int32) + func (c *Context) WrenSetMapValue(p0 int32, p1 int32, p2 int32, p3 int32) + func (c *Context) WrenSetSlotBool(p0 int32, p1 int32, p2 int32) + func (c *Context) WrenSetSlotBytes(p0 int32, p1 int32, p2 int32, p3 int32) + func (c *Context) WrenSetSlotDouble(p0 int32, p1 int32, p2 float64) + func (c *Context) WrenSetSlotHandle(p0 int32, p1 int32, p2 int32) + func (c *Context) WrenSetSlotNewForeign(p0 int32, p1 int32, p2 int32, p3 int32) int32 + func (c *Context) WrenSetSlotNewList(p0 int32, p1 int32) + func (c *Context) WrenSetSlotNewMap(p0 int32, p1 int32) + func (c *Context) WrenSetSlotNull(p0 int32, p1 int32) + func (c *Context) WrenSetSlotString(p0 int32, p1 int32, p2 int32) + func (c *Context) WrenSetUserData(p0 int32, p1 int32) + type ImportedFuncs interface + F0 func(ctx *Context, p0 int32, p1 int32, p2 int32) int32 + F1 func(ctx *Context, p0 int32, p1 int32) + F10 func(ctx *Context) int32 + F11 func(ctx *Context, p0 int32) int32 + F12 func(ctx *Context, p0 int32, p1 int32) int32 + F13 func(ctx *Context, p0 int32, p1 int64, p2 int32, p3 int32) int32 + F14 func(ctx *Context, p0 int32, p1 int32, p2 int32, p3 int32) int32 + F15 func(ctx *Context, p0 int32) + F2 func(ctx *Context, p0 int32, p1 int32, p2 int32, p3 int32, p4 int32) + F3 func(ctx *Context, p0 int32) int32 + F4 func(ctx *Context, p0 int32, p1 int32) int32 + F5 func(ctx *Context, p0 int32, p1 int32, p2 int32, p3 int32, p4 int32) int32 + F6 func(ctx *Context, p0 int32, p1 int32) + F7 func(ctx *Context, p0 int32, p1 int32, p2 int32, p3 int32, p4 int32) + F8 func(ctx *Context, p0 int32, p1 int32, p2 int32) + F9 func(ctx *Context) float64