Function hdk::prelude::allocation::__allocate [−][src]
#[no_mangle]pub extern "C" fn __allocate(len: u32) -> u32
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.