Import with #import "std/zx_module".

Load :: (interface_name: string) -> u64

Needs a host capability.

Release :: (handle: u64) -> bool

Needs a host capability.

ExportCount :: (handle: u64) -> s32

Needs a host capability.

ExportName :: (handle: u64, ordinal: s32) -> string

Needs a host capability.

ParameterCount :: (handle: u64, ordinal: s32) -> s32

Needs a host capability.

ParameterType :: (handle: u64, ordinal: s32, index: s32) -> string

Needs a host capability.

ResultType :: (handle: u64, ordinal: s32) -> string

Needs a host capability.

Replace :: (handle: u64, artifact_name: string) -> bool

Resolve artifact_name beneath the loader's roots. Its declared logical module name must match the handle. Retains the handle and migrates state.

Needs a host capability.

Problem :: () -> string

The most recent module problem from this program run, or an empty string.

Needs a host capability.

Source ↗ · All modules