Function allocate
Source pub unsafe fn allocate(len: usize) -> *mut c_void
Expand description
Allocates a segment of memory that is safe to pass through intercom
interfaces.
§Arguments
len - Size of data to allocate.
§Safety
The returned value must be freed using the free method in this
module or the IAllocator::free method.