1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

api: return integer in function gui_completion_search (issue #1484)

This commit is contained in:
Sébastien Helleu
2020-04-28 10:46:49 +02:00
parent 2bd8e91b54
commit d1a427b67f
16 changed files with 139 additions and 95 deletions
+3 -3
View File
@@ -67,7 +67,7 @@ struct timeval;
* please change the date with current one; for a second change at same
* date, increment the 01, otherwise please keep 01.
*/
#define WEECHAT_PLUGIN_API_VERSION "20200426-01"
#define WEECHAT_PLUGIN_API_VERSION "20200428-01"
/* macros for defining plugin infos */
#define WEECHAT_PLUGIN_NAME(__name) \
@@ -1012,8 +1012,8 @@ struct t_weechat_plugin
/* completion */
struct t_gui_completion *(*completion_new) (struct t_weechat_plugin *plugin,
struct t_gui_buffer *buffer);
void (*completion_search) (struct t_gui_completion *completion,
const char *data, int position, int direction);
int (*completion_search) (struct t_gui_completion *completion,
const char *data, int position, int direction);
void (*completion_free) (struct t_gui_completion *completion);
/* network */