diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-18 19:31:40 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-18 19:31:40 +0200 |
commit | 3b81a4746a4e0b648df1e05c79e077cc93b69459 (patch) | |
tree | 0914480d42a49b709763facafd2706706f3cbc32 /src/plugins/weechat-plugin.h | |
parent | 8511f9a77e45307389f54afa8ddfc1e112f0f59c (diff) | |
download | weechat-3b81a4746a4e0b648df1e05c79e077cc93b69459.zip |
Add new argument "value" to function config_new_option
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 9b1242b80..7c1a0efef 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -240,6 +240,7 @@ struct t_weechat_plugin const char *string_values, int min, int max, const char *default_value, + const char *value, int (*callback_check_value)(void *data, struct t_config_option *option, const char *value), @@ -721,7 +722,8 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); weechat_plugin->config_search_section(__config, __name) #define weechat_config_new_option(__config, __section, __name, __type, \ __desc, __string_values, __min, \ - __max, __default, __callback_check, \ + __max, __default, __value, \ + __callback_check, \ __callback_check_data, \ __callback_change, \ __callback_change_data, \ @@ -729,7 +731,7 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); __callback_delete_data) \ weechat_plugin->config_new_option(__config, __section, __name, \ __type, __desc, __string_values, \ - __min, __max, __default, \ + __min, __max, __default, __value, \ __callback_check, \ __callback_check_data, \ __callback_change, \ |