Type Alias sdl2_sys::SDL_ThreadFunction
source · pub type SDL_ThreadFunction = Option<unsafe extern "C" fn(data: *mut c_void) -> c_int>;
Expand description
The function passed to SDL_CreateThread(). It is passed a void* user context parameter and returns an int.
Aliased Type§
enum SDL_ThreadFunction {
None,
Some(unsafe extern "C" fn(_: *mut c_void) -> i32),
}