CAClockRemoveListener

Function CAClockRemoveListener 

Source
pub unsafe extern "C-unwind" fn CAClockRemoveListener(
    in_ca_clock: CAClockRef,
    in_listener_proc: CAClockListenerProc,
    in_user_data: NonNull<c_void>,
) -> i32
Expand description

Removes a listener callback function.

Parameter inCAClock: The clock object.

Parameter inListenerProc: The callback function.

Parameter inUserData: The same value as was passed for inUserData when this function was registered with CAClockAddListener. (This allows a single callback function to be registered more than once, with different userData arguments.)

Returns: An OSStatus error code.

ยงSafety

  • in_ca_clock must be a valid pointer.
  • in_listener_proc must be implemented correctly.
  • in_user_data must be a valid pointer.