emscripten

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Free

func Free(ctx exec.Context, ptr uint32) error

Free call free on wasm runtime

func Init

func Init(ctx exec.Context) error

Init initialize global variables

func Malloc

func Malloc(ctx exec.Context, size int) (uint32, error)

Malloc call malloc on wasm memory, memory must be freed either by Free or by wasm runtime

func NewResolver

func NewResolver() exec.Resolver

NewResolver return exec.Resolver which resolves symbols needed by emscripten environment

Types

This section is empty.

Jump to

Keyboard shortcuts

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