1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00

fix type in callback definition

This commit is contained in:
Wez Furlong 2019-11-11 20:23:38 -08:00
parent 398f333c32
commit 3ec3caf8f4

View File

@ -153,7 +153,11 @@ impl SpawnQueue {
Ok(Self { spawned_funcs })
}
extern "C" fn trigger(_observer: *mut __CFRunLoopObserver, _: u32, _: *mut std::ffi::c_void) {
extern "C" fn trigger(
_observer: *mut __CFRunLoopObserver,
_: CFRunLoopActivity,
_: *mut std::ffi::c_void,
) {
SPAWN_QUEUE.run();
}