Type Alias sdl2_sys::SDL_calloc_func

source ·
pub type SDL_calloc_func = Option<unsafe extern "C" fn(nmemb: size_t, size: size_t) -> *mut c_void>;

Aliased Type§

enum SDL_calloc_func {
    None,
    Some(unsafe extern "C" fn(_: u64, _: u64) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u64, _: u64) -> *mut c_void)

Some value of type T.