From 25fde2f4231ae5c651d2e7a3a4d17868dd0d9c1a Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Tue, 26 Apr 2022 00:06:29 -0300 Subject: Add support for lists --- src/internals.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internals.rs') 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, -- cgit 1.4.1