From ff83985ef4f4073f9430ee065b1d8982fb7c6318 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 1 Apr 2009 19:03:05 +0200 Subject: Add default template completion (by default: nick or IRC channel) --- doc/en/dev/plugin_c_api.en.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc/en/dev') diff --git a/doc/en/dev/plugin_c_api.en.xml b/doc/en/dev/plugin_c_api.en.xml index a3be40b32..b5f01bff4 100644 --- a/doc/en/dev/plugin_c_api.en.xml +++ b/doc/en/dev/plugin_c_api.en.xml @@ -2039,7 +2039,8 @@ struct t_weelist *weechat_list_new (); struct t_weelist_item *weechat_list_add ( struct t_weelist *weelist, const char *data, - const char *where); + const char *where, + void *user_data); @@ -2065,6 +2066,11 @@ struct t_weelist_item *weechat_list_add ( WEECHAT_LIST_POS_END) + + + : any pointer + + @@ -2072,7 +2078,7 @@ struct t_weelist_item *weechat_list_add ( Example: - weechat_list_add (list, "my data", WEECHAT_LIST_POS_SORT); + weechat_list_add (list, "my data", WEECHAT_LIST_POS_SORT, NULL); -- cgit v1.2.3