[][src]Type Definition sdl2_sys::SDL_ThreadFunction

type SDL_ThreadFunction = Option<unsafe extern "C" fn(data: *mut c_void) -> c_int>;

The function passed to SDL_CreateThread(). It is passed a void* user context parameter and returns an int.