Skip to content

Commit 2922423

Browse files
authored
Merge pull request #47 from ldm0/main
fix: update `FSEventStreamSetDispatchQueue` signature to accept a reference to `DispatchQueue`
2 parents 3128679 + c059488 commit 2922423

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)