Skip to main content

CFRunLoopTimerCreateWithHandler

Function CFRunLoopTimerCreateWithHandler 

Source
pub unsafe extern "C-unwind" fn CFRunLoopTimerCreateWithHandler(
    allocator: Option<&CFAllocator>,
    fire_date: CFAbsoluteTime,
    interval: CFTimeInterval,
    flags: CFOptionFlags,
    order: CFIndex,
    block: Option<&DynBlock<dyn Fn(*mut CFRunLoopTimer)>>,
) -> Option<CFRetained<CFRunLoopTimer>>
👎Deprecated:

renamed to CFRunLoopTimer::with_handler

Available on crate features block2 and CFDate and CFRunLoop only.