Function rust_0_4_malloc

Source
#[no_mangle]
pub unsafe extern "C" fn rust_0_4_malloc(size_bytes: usize) -> *mut u8
Expand description

Allocate size_bytes many bytes and return a pointer.

ยงSafety

Allocated bytes must be freed using rust_0_4_free.