mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
api: return allocated string in hook_info callback and function info_get
This commit is contained in:
@@ -289,10 +289,10 @@ extern struct t_hook *plugin_script_api_hook_info (struct t_weechat_plugin *weec
|
||||
const char *info_name,
|
||||
const char *description,
|
||||
const char *args_description,
|
||||
const char *(*callback)(const void *pointer,
|
||||
void *data,
|
||||
const char *info_name,
|
||||
const char *arguments),
|
||||
char *(*callback)(const void *pointer,
|
||||
void *data,
|
||||
const char *info_name,
|
||||
const char *arguments),
|
||||
const char *function,
|
||||
const char *data);
|
||||
extern struct t_hook *plugin_script_api_hook_info_hashtable (struct t_weechat_plugin *weechat_plugin,
|
||||
|
||||
Reference in New Issue
Block a user