Sign in

    Milky2018/wasm_component/canonical does not have a README file

    CanonicalAbiPlan

    pub(all) struct CanonicalAbiPlan {
    value_type :
    ValType

    types : Array[
    TypeDef
    ?]
    memory64 : Bool
    flat : Array[
    ValueType
    ]
    layout : (Int, Int)?
    contains_memory : Bool
    }

    A value's ABI representation in its defining type environment. Flat output may be bounded by the caller's ABI arity limit; memory layout never expands fixed-length lists. An absent layout means the value exceeds the supported addressable area, while its bounded call signature can still be inspected.

    canonical_abi_plan

    fn canonical_abi_plan(ty :
    ValType
    , types : Array[
    TypeDef
    ?], memory64 : Bool, max_flat? : Int) -> CanonicalAbiPlan?

    canonical_discriminant_layout

    fn canonical_discriminant_layout(case_count : Int) -> (Int, Int)

    canonical_flat_types

    Return the Canonical ABI flat core value types for one component value.

    pointer_type must be I32 or I64 and represents the selected canonical memory. None means the type index is invalid, recursive, or does not name a value type. max_flat bounds the returned prefix when only an ABI arity threshold is needed; it avoids expanding large fixed lists.

    canonical_lift_core_func_type

    Return the Canonical ABI core signature consumed by canon lift.

    More than sixteen flat parameters use one indirect pointer. A result with more than one flat value is returned as a pointer to the result area.

    canonical_lower_core_func_type

    Return the Canonical ABI core signature produced by canon lower.

    More than sixteen flat parameters use one indirect pointer. A result with more than one flat value appends an indirect result pointer to the core parameters.

    canonical_memory_layout

    fn canonical_memory_layout(ty :
    ValType
    , types : Array[
    TypeDef
    ?], mem_is_64 : Bool) -> (Int, Int)?

    canonical_value_contains_memory

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io