[−][src]Function holochain_wasmer_host::import::__import_allocation
pub fn __import_allocation(
ctx: &mut Ctx,
guest_allocation_ptr: RemotePtr,
host_allocation_ptr: RemotePtr
)
import an allocation from the host to the guest
- the guest allocation pointer must be preallocated
- the host allocation pointer must point to a valid allocation