diff options
Diffstat (limited to 'src/internals.rs')
-rw-r--r-- | src/internals.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internals.rs b/src/internals.rs index dc93aaa..d1b714f 100644 --- a/src/internals.rs +++ b/src/internals.rs @@ -83,7 +83,7 @@ pub struct Ph { fd: libc::c_int, flags: libc::c_int, /* CALLBACK */ - callback: Option<unsafe extern "C" fn(fd: libc::c_int, flags: libc::c_int, user_data: *mut libc::c_void) -> libc::c_int>, + callback: unsafe extern "C" fn(fd: libc::c_int, flags: libc::c_int, user_data: *mut libc::c_void) -> libc::c_int, userdata: *mut libc::c_void) -> *const HexchatHook, pub hexchat_unhook: unsafe extern "C" fn(ph: *mut HexchatPlugin, hook: *const HexchatHook) -> *const libc::c_void, |