summary refs log tree commit diff stats
path: root/src/internals.rs
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-04-26 00:06:29 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-04-26 00:06:29 -0300
commit25fde2f4231ae5c651d2e7a3a4d17868dd0d9c1a (patch)
tree42ebe008ef1f08e630aec329e539ee89f94810b8 /src/internals.rs
parentf9f854aa51e384358d935740bd64cf4f6d3057c5 (diff)
Add support for lists
Diffstat (limited to 'src/internals.rs')
-rw-r--r--src/internals.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internals.rs b/src/internals.rs
index e3b18fa..dc93aaa 100644
--- a/src/internals.rs
+++ b/src/internals.rs
@@ -118,7 +118,7 @@ pub struct Ph {
             string: *mut *const libc::c_char,
             integer: *mut libc::c_int) -> libc::c_int,
     pub hexchat_list_get: unsafe extern "C" fn(ph: *mut HexchatPlugin,
-            name: *const libc::c_char) -> *const HexchatList,
+            name: *const libc::c_char) -> *mut HexchatList,
     pub hexchat_list_free: unsafe extern "C" fn(ph: *mut HexchatPlugin,
             xlist: *const HexchatList),
     pub hexchat_list_fields: unsafe extern "C" fn(ph: *mut HexchatPlugin,