FSEventStreamCreate

Function FSEventStreamCreate 

Source
pub unsafe extern "C-unwind" fn FSEventStreamCreate(
    allocator: Option<&CFAllocator>,
    callback: FSEventStreamCallback,
    context: *mut FSEventStreamContext,
    paths_to_watch: &CFArray,
    since_when: FSEventStreamEventId,
    latency: CFTimeInterval,
    flags: FSEventStreamCreateFlags,
) -> FSEventStreamRef
Available on crate feature FSEvents only.
Expand description

ยงSafety

  • callback must be implemented correctly.
  • context must be a valid pointer or null.
  • paths_to_watch generic must be of the correct type.