mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 21:06:38 +02:00
Fix bug with arguments of function "config_new_option" in scripts API
This commit is contained in:
@@ -60,10 +60,17 @@ extern struct t_config_option *script_api_config_new_option (struct t_weechat_pl
|
||||
const char *type,
|
||||
const char *description,
|
||||
const char *string_values,
|
||||
int min, int max,
|
||||
const char *default_value,
|
||||
void (*callback_change)(void *data),
|
||||
const char *function);
|
||||
int min, int max, const char *default_value,
|
||||
void (*callback_check_value)(void *data,
|
||||
struct t_config_option *option,
|
||||
const char *value),
|
||||
const char *function_check_value,
|
||||
void (*callback_change)(void *data,
|
||||
struct t_config_option *option),
|
||||
const char *function_change,
|
||||
void (*callback_delete)(void *data,
|
||||
struct t_config_option *option),
|
||||
const char *function_delete);
|
||||
extern void script_api_config_free (struct t_weechat_plugin *weechat_plugin,
|
||||
struct t_plugin_script *script,
|
||||
struct t_config_file *config_file);
|
||||
|
||||
Reference in New Issue
Block a user