pub type SDL_MainThreadCallback = Option<unsafe extern "C" fn(userdata: *mut c_void)>;Expand description
Callback run on the main thread.
Parameter: userdata an app-controlled pointer that is passed to the callback.
Available Since: This datatype is available since SDL 3.2.0.
See Also: SDL_RunOnMainThread
Aliased Type§
pub enum SDL_MainThreadCallback {
None,
Some(unsafe extern "C" fn(*mut c_void)),
}