diplomat_runtime

Function diplomat_alloc

Source
#[no_mangle]
pub unsafe extern "C" fn diplomat_alloc(
    size: usize,
    align: usize,
) -> *mut u8
Expand description

Allocates a buffer of a given size in Rust’s memory.

§Safety