Function libax::cbindings::ax_malloc

source ·
#[no_mangle]
pub unsafe extern "C" fn ax_malloc(size: usize) -> *mut c_void
Available on crate features alloc and cbindings only.
Expand description

Allocate memory and return the memory address.

Returns 0 on failure (the current implementation does not trigger an exception)