[][src]Function fluence::sdk::export_allocator::allocate

#[no_mangle]
pub unsafe fn allocate(size: usize) -> NonNull<u8>

Allocates memory area of specified size and returns its address. Used from the host environment for memory allocation while parameters passing.