summary refs log tree commit diff stats
path: root/src/internals.rs
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2018-03-31 11:31:52 -0300
committerSoniEx2 <endermoneymod@gmail.com>2018-03-31 11:31:52 -0300
commitb2be734b53e74caf087f0d112b432fcbeb1b72e9 (patch)
tree2393d12149f26f4c6bb91dd849ce751328b82756 /src/internals.rs
parent6ce60768df1139af138c566f4e884f4b7c173cd5 (diff)
Version 0.2.1
Diffstat (limited to 'src/internals.rs')
-rw-r--r--src/internals.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/internals.rs b/src/internals.rs
index 71ac93f..2a8febc 100644
--- a/src/internals.rs
+++ b/src/internals.rs
@@ -66,18 +66,18 @@ pub struct Ph {
             name: *const libc::c_char,
             pri: libc::c_int,
             /* CALLBACK */
-            callback: Option<unsafe extern "C" fn(word: *const *const libc::c_char, word_eol: *const *const libc::c_char, user_data: *mut libc::c_void) -> libc::c_int>,
+            callback: unsafe extern "C" fn(word: *const *const libc::c_char, word_eol: *const *const libc::c_char, user_data: *mut libc::c_void) -> libc::c_int,
             userdata: *mut libc::c_void) -> *const HexchatHook,
     pub hexchat_hook_print: unsafe extern "C" fn(ph: *mut HexchatPlugin,
             name: *const libc::c_char,
             pri: libc::c_int,
             /* CALLBACK */
-            callback: Option<unsafe extern "C" fn(word: *const *const libc::c_char, user_data: *mut libc::c_void) -> libc::c_int>,
+            callback: unsafe extern "C" fn(word: *const *const libc::c_char, user_data: *mut libc::c_void) -> libc::c_int,
             userdata: *mut libc::c_void) -> *const HexchatHook,
     pub hexchat_hook_timer: unsafe extern "C" fn(ph: *mut HexchatPlugin,
             timeout: libc::c_int,
             /* CALLBACK */
-            callback: Option<unsafe extern "C" fn(user_data: *mut libc::c_void) -> libc::c_int>,
+            callback: unsafe extern "C" fn(user_data: *mut libc::c_void) -> libc::c_int,
             userdata: *mut libc::c_void) -> *const HexchatHook,
     pub hexchat_hook_fd: unsafe extern "C" fn(ph: *mut HexchatPlugin,
             fd: libc::c_int,