Milky2018/wasmoon_runtime/native/ffi does not have a README file
pub suberror GCMetadataError {
InvalidTypeStride
PayloadCountMismatch
PayloadTooLarge
} derive(Debug)impl Show for GCMetadataErrorimpl Show for NativeAllocationErrorpub type CleanupOwnertype ExecCodeHandlepub type GCHeapHandleimpl Debug for GCHeapHandlefn GCHeapHandle::bind_reservations(self : GCHeapHandle, bytes : Reservation, objects : Reservation) -> Boolfn GCHeapHandle::bind_root_visitor(self : GCHeapHandle, visitor : (Int, FixedArray[Int64]) -> FixedArray[Int64]) -> Unitpub type JITContextfn JITContext::bind_callable_registry(self : JITContext, registry : NativeCallableRegistry, locals : FixedArray[Int], tags : FixedArray[Int], functions? : FixedArray[Int]) -> Unitfn JITContext::bind_gc_metadata(self : JITContext, types : FixedArray[Int], canonical : FixedArray[Int], functions : FixedArray[Int]) -> Unit raise GCMetadataErrorfn JITContext::bind_gc_safepoints(self : JITContext, function : Int, blob : Bytes, offsets : FixedArray[Int]) -> Boolfn JITContext::bind_segment_drop_flags(self : JITContext, data : FixedArray[Bool], elements : FixedArray[Bool]) -> Unitfn JITContext::define_continuation_type(self : JITContext, index : Int, trampoline : Int64, params : Int, results : Int, roots : FixedArray[Int]) -> Boolfn JITContext::set_segments(self : JITContext, data : Array[Bytes], elements : Array[Array[Int64]]) -> Boolfn JITContext::snapshot_gc_function_addresses(self : JITContext, table : Int64, count : Int) -> Unitpub type MemoryDescriptorimpl Eq for MemoryDescriptorimpl Debug for MemoryDescriptorpub struct NativeContinuationArena {
// private fields
}fn NativeContinuationArena::gc_roots(self : NativeContinuationArena, reference : Int64) -> FixedArray[Int64]pub struct NativeExceptionArena {
// private fields
}fn NativeExceptionArena::bind_quotas(self : NativeExceptionArena, bytes : Quota, objects : Quota) -> Boolfn NativeExceptionArena::define_tag(self : NativeExceptionArena, tag : Int, params : ArrayView[ValueType]) -> Boolfn NativeExceptionArena::insert(self : NativeExceptionArena, heap : GCHeapHandle, tag : Int, values : Array[Int64]) -> Int64fn NativeExceptionArena::snapshot(self : NativeExceptionArena, reference : Int64) -> (Int, Array[Int64])?pub type NativeTableHandleimpl Debug for NativeTableHandlefn NativeTableHandle::copy_from(self : NativeTableHandle, offset : Int, source : NativeTableHandle, source_offset : Int, length : Int) -> Boolfn NativeTableHandle::fill(self : NativeTableHandle, offset : Int, length : Int, value : Int64, metadata : Int) -> Boolfn NativeTableHandle::grow_value(self : NativeTableHandle, delta : Int64, value : Int64, type_index : Int) -> Int64pub type PreparedSafepointsfn PreparedSafepoints::new(blobs : FixedArray[Bytes], offsets : FixedArray[FixedArray[Int]]) -> PreparedSafepoints raise GCMetadataErrorpub type Quotapub type Reservationimpl Debug for ReservationInstall
Download zipShared Wasmoon interpreter state and target-specific storage primitives
Dependencies