Skip to content

Commit c059488

Browse files
committed
fix: update FSEventStreamSetDispatchQueue signature to accept a reference to DispatchQueue
1 parent 3128679 commit c059488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsevent-sys/src/fsevent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ unsafe extern "C" {
118118
run_loop: CFRunLoopRef,
119119
run_loop_mode: CFStringRef,
120120
);
121-
pub fn FSEventStreamSetDispatchQueue(stream_ref: FSEventStreamRef, q: DispatchQueue);
121+
pub fn FSEventStreamSetDispatchQueue(stream_ref: FSEventStreamRef, q: &DispatchQueue);
122122
pub fn FSEventStreamSetExclusionPaths(
123123
stream_ref: FSEventStreamRef,
124124
paths_to_exclude: CFArrayRef,

0 commit comments

Comments
 (0)