macOS module

FSEventStreamCreate

proceduresince 0.31.0Source

CF Create-rule results belong to the caller. Converted Jai bytes use the current context allocator and preserve embedded NULs. The SDK copies the context synchronously and manages info with the supplied C callbacks. Only storage order changes; ownership and callbacks stay native.

FSEventStreamCreate :: (
    allocator: CFAllocatorRef,
    callback: FSEventStreamCallback,
    _context: *FSEventStreamContext,
    pathsToWatch: CFArrayRef,
    sinceWhen: FSEventStreamEventId,
    latency: CFTimeInterval,
    flags: FSEventStreamCreateFlags
) -> ConstFSEventStreamRef #c_call

Parameters

allocator: CFAllocatorRef
pathsToWatch: CFArrayRef

Returns

See also