Function holochain_wasmer_guest::allocation::__allocate[][src]

#[no_mangle]pub extern "C" fn __allocate(len: Len) -> GuestPtr

Allocate a length plus a length prefix in bytes that won't be dropped by the allocator. Return the pointer to it so a length prefix + bytes can be written to the allocation.