mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 09:43:13 +02:00
Merge remote-tracking branch 'origin/pr/623' into irc-3.2-cap
This commit is contained in:
@@ -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 "20171223-01"
|
||||
#define WEECHAT_PLUGIN_API_VERSION "20180520-01"
|
||||
|
||||
/* macros for defining plugin infos */
|
||||
#define WEECHAT_PLUGIN_NAME(__name) \
|
||||
@@ -468,6 +468,9 @@ struct t_weechat_plugin
|
||||
int (*hashtable_add_to_infolist) (struct t_hashtable *hashtable,
|
||||
struct t_infolist_item *infolist_item,
|
||||
const char *prefix);
|
||||
int (*hashtable_add_from_infolist) (struct t_hashtable *hashtable,
|
||||
struct t_infolist *infolist,
|
||||
const char *prefix);
|
||||
void (*hashtable_remove) (struct t_hashtable *hashtable, const void *key);
|
||||
void (*hashtable_remove_all) (struct t_hashtable *hashtable);
|
||||
void (*hashtable_free) (struct t_hashtable *hashtable);
|
||||
@@ -1401,6 +1404,11 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
|
||||
(weechat_plugin->hashtable_add_to_infolist)(__hashtable, \
|
||||
__infolist_item, \
|
||||
__prefix)
|
||||
#define weechat_hashtable_add_from_infolist(__hashtable, __infolist, \
|
||||
__prefix) \
|
||||
(weechat_plugin->hashtable_add_from_infolist)(__hashtable, \
|
||||
__infolist, \
|
||||
__prefix)
|
||||
#define weechat_hashtable_remove(__hashtable, __key) \
|
||||
(weechat_plugin->hashtable_remove)(__hashtable, __key)
|
||||
#define weechat_hashtable_remove_all(__hashtable) \
|
||||
|
||||
Reference in New Issue
Block a user