[−][src]Function fluence_sdk_main::memory::alloc
pub unsafe fn alloc(size: NonZeroUsize) -> MemResult<NonNull<u8>>
Allocates memory area of specified size and returns its address. Actually is just a wrapper for
GlobalAlloc::alloc
.
Safety
See GlobalAlloc::alloc
.