Sign in

    Milky2018/wasmoon_runtime/native/callable does not have a README file

    NativeCallableRegistry

    pub struct NativeCallableRegistry {
    // private fields
    }

    Store-local callable identities, built and owned by MoonBit.

    NativeCallableRegistry::clear

    NativeCallableRegistry::native_view

    Native consumers retain this RC-managed view; it keeps its arrays alive.

    NativeCallableRegistry::new

    NativeCallableRegistry::replace

    fn NativeCallableRegistry::replace(self : NativeCallableRegistry, parents : Array[Int], entries : Array[(Int64, Int)]) -> Bool

    Replace Store metadata outside concurrent guest execution. Native consumers share the typed arrays; they do not own an independent copy of the metadata. The Bool result is retained for compatibility. Allocation uses MoonBit's allocator, so there is no separately recoverable native allocation failure.

    NativeCallableRegistry::replace_functions

    fn NativeCallableRegistry::replace_functions(self : NativeCallableRegistry, functions : Array[(Int, Int64)], references : Array[(Int64, Int)]) -> Unit

    Function addresses in table storage stay Store-local across JIT registrations. Both sorted views are retained by the native view, without a Store callback.

    NativeCallableRegistry::to_repr

    #deprecated("`NativeCallableRegistry::to_repr` is deprecated, use `@moonbitlang/core/debug.Debug::to_repr` instead.")
    fn NativeCallableRegistry::to_repr(_self : NativeCallableRegistry) ->
    Repr

    NativeCallableView

    pub type NativeCallableView

    Opaque native view retaining MoonBit arrays for direct JIT helper access.

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io