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

Fix some return codes of callbacks in script plugins

This commit is contained in:
Sebastien Helleu
2009-02-20 16:14:04 +01:00
parent 1b4028218c
commit 029503f750
7 changed files with 1863 additions and 1451 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -349,9 +349,9 @@ script_api_config_new_option (struct t_weechat_plugin *weechat_plugin,
const char *default_value,
const char *value,
int null_value_allowed,
void (*callback_check_value)(void *data,
struct t_config_option *option,
const char *value),
int (*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),
+3 -3
View File
@@ -70,9 +70,9 @@ extern struct t_config_option *script_api_config_new_option (struct t_weechat_pl
const char *default_value,
const char *value,
int null_value_allowed,
void (*callback_check_value)(void *data,
struct t_config_option *option,
const char *value),
int (*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),
File diff suppressed because it is too large Load Diff