Type Alias sdl2_sys::SDL_main_func

source ·
pub type SDL_main_func = Option<unsafe extern "C" fn(argc: c_int, argv: *mut *mut c_char) -> c_int>;
Expand description

The prototype for the application’s main() function

Aliased Type§

enum SDL_main_func {
    None,
    Some(unsafe extern "C" fn(_: i32, _: *mut *mut i8) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: i32, _: *mut *mut i8) -> i32)

Some value of type T.