pub type SDL_iOSAnimationCallback = Option<unsafe extern "C" fn(userdata: *mut c_void)>;Available on iOS or tvOS or visionOS or watchOS only.
Expand description
The prototype for an Apple iOS animation callback.
This datatype is only useful on Apple iOS.
After passing a function pointer of this type to
SDL_SetiOSAnimationCallback, the system will call that function pointer at
a regular interval.
§Parameters
userdata: what was passed ascallbackParamtoSDL_SetiOSAnimationCallbackascallbackParam.
§Availability
This datatype is available since SDL 3.2.0.
§See also
Aliased Type§
pub enum SDL_iOSAnimationCallback {
None,
Some(unsafe extern "C" fn(*mut c_void)),
}