diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 18 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.txt | 18 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 18 |
3 files changed, 18 insertions, 36 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 95275789f..ed6f609a4 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -3843,11 +3843,11 @@ struct t_config_option *weechat_config_new_option ( struct t_config_option *option, const char *value), void *callback_check_value_data, - int (*callback_change)(void *data, - struct t_config_option *option), + void (*callback_change)(void *data, + struct t_config_option *option), void *callback_change_data, - int (*callback_delete)(void *data, - struct t_config_option *option), + void (*callback_delete)(void *data, + struct t_config_option *option), void *callback_delete_data); ---------------------------------------- @@ -3881,21 +3881,15 @@ Arguments: * 'callback_check_value_data': pointer given to check_value callback when it is called by WeeChat * 'callback_change': function called when value of option has changed - (optional), arguments and return value: + (optional), arguments: ** 'void *data': pointer ** 'struct t_config_option *option': option pointer -** return value: -*** 'WEECHAT_RC_OK' -*** 'WEECHAT_RC_ERROR' * 'callback_change_data': pointer given to change callback when it is called by WeeChat * 'callback_delete': function called when option will be deleted (optional), - arguments and return value: + arguments: ** 'void *data': pointer ** 'struct t_config_option *option': option pointer -** return value: -*** 'WEECHAT_RC_OK' -*** 'WEECHAT_RC_ERROR' * 'callback_delete_data': pointer given to delete callback when it is called by WeeChat diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index 43e9b9c53..721864ded 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -3883,11 +3883,11 @@ struct t_config_option *weechat_config_new_option ( struct t_config_option *option, const char *value), void *callback_check_value_data, - int (*callback_change)(void *data, - struct t_config_option *option), + void (*callback_change)(void *data, + struct t_config_option *option), void *callback_change_data, - int (*callback_delete)(void *data, - struct t_config_option *option), + void (*callback_delete)(void *data, + struct t_config_option *option), void *callback_delete_data); ---------------------------------------- @@ -3922,21 +3922,15 @@ Paramètres : * 'callback_check_value_data' : pointeur donné au "callback" lorsqu'il est appelé par WeeChat * 'callback_change' : fonction appelée lorsque la valeur de l'option a changé - (optionnel), paramètres et valeur de retour : + (optionnel), paramètres : ** 'void *data' : pointeur ** 'struct t_config_option *option' : pointeur vers l'option -** valeur de retour : -*** 'WEECHAT_RC_OK' -*** 'WEECHAT_RC_ERROR' * 'callback_change_data' : pointeur donné au "callback" lorsqu'il est appelé par WeeChat * 'callback_delete' : fonction appelée lorsque l'option est supprimée - (optionnel), paramètres et valeur de retour : + (optionnel), paramètres : ** 'void *data' : pointeur ** 'struct t_config_option *option' : pointeur vers l'option -** valeur de retour : -*** 'WEECHAT_RC_OK' -*** 'WEECHAT_RC_ERROR' * 'callback_delete_data' : pointeur donné au "callback" lorsqu'il est appelé par WeeChat diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index b773a2a6f..89b355f96 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -3840,11 +3840,11 @@ struct t_config_option *weechat_config_new_option ( struct t_config_option *option, const char *value), void *callback_check_value_data, - int (*callback_change)(void *data, - struct t_config_option *option), + void (*callback_change)(void *data, + struct t_config_option *option), void *callback_change_data, - int (*callback_delete)(void *data, - struct t_config_option *option), + void (*callback_delete)(void *data, + struct t_config_option *option), void *callback_delete_data); ---------------------------------------- @@ -3880,21 +3880,15 @@ Argomenti: * 'callback_check_value_data': puntatore fornito alla callback check_value quando chiamato da WeeChat * 'callback_change': funzione chiamata quando il valore dell'opzione è stata - cambiata (opzionale), argomenti e valore restituito: + cambiata (opzionale), argomenti: ** 'void *data': puntatore ** 'struct t_config_option *option': puntatore all'opzione -** valore restituito: -*** 'WEECHAT_RC_OK' -*** 'WEECHAT_RC_ERROR' * 'callback_change_data': puntatore fornito per cambiare alla callback quando chiamato da WeeChat * 'callback_delete': funzione chiamata quando l'opzione verrà eliminata - (opzionale), argomenti e valore restituito: + (opzionale), argomenti: ** 'void *data': puntatore ** 'struct t_config_option *option': puntatore all'opzione -** valore restituito: -*** 'WEECHAT_RC_OK' -*** 'WEECHAT_RC_ERROR' * 'callback_delete_data': puntatore fornito per eiliminare alla callback quando chiamato da WeeChat |