Skip to main content

starpu_malloc_hook

Type Alias starpu_malloc_hook 

Source
pub type starpu_malloc_hook = Option<unsafe extern "C" fn(dst_node: c_uint, A: *mut *mut c_void, dim: usize, flags: c_int) -> c_int>;

Aliased Type§

pub enum starpu_malloc_hook {
    None,
    Some(unsafe extern "C" fn(u32, *mut *mut c_void, usize, i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32, *mut *mut c_void, usize, i32) -> i32)

Some value of type T.