diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-12 13:35:02 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-12 13:35:02 +0200 |
commit | 54a58151057347f176056dae9795c042a3fbddcb (patch) | |
tree | e0a72893a5c82253031e7dfec450a03c6086c646 | |
parent | c4c58e0914f7c5aaabe046d8cce33862ad28511d (diff) | |
download | weechat-54a58151057347f176056dae9795c042a3fbddcb.zip |
doc/api: fix return values for callback_read in config_new_section
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 7 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 7 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 7 | ||||
-rw-r--r-- | doc/sr/weechat_plugin_api.sr.adoc | 7 |
4 files changed, 16 insertions, 12 deletions
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 1e6e3a186..111a3362b 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -6819,9 +6819,10 @@ my_section_read_cb (const void *pointer, void *data, { /* ... */ - return WEECHAT_CONFIG_READ_OK; - /* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */ - /* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */ + return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED; + /* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */ + /* return WEECHAT_CONFIG_OPTION_SET_ERROR; */ + /* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */ } int diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index f958e2c43..874a5909e 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -6980,9 +6980,10 @@ my_section_read_cb (const void *pointer, void *data, { /* ... */ - return WEECHAT_CONFIG_READ_OK; - /* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */ - /* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */ + return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED; + /* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */ + /* return WEECHAT_CONFIG_OPTION_SET_ERROR; */ + /* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */ } int diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index b10360c0c..cdce16dcf 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -6784,9 +6784,10 @@ my_section_read_cb (const void *pointer, void *data, { /* ... */ - return WEECHAT_CONFIG_READ_OK; - /* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */ - /* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */ + return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED; + /* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */ + /* return WEECHAT_CONFIG_OPTION_SET_ERROR; */ + /* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */ } int diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index 65d0dd3b1..62f7cd707 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -6509,9 +6509,10 @@ my_section_read_cb (const void *pointer, void *data, { /* ... */ - return WEECHAT_CONFIG_READ_OK; - /* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */ - /* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */ + return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED; + /* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */ + /* return WEECHAT_CONFIG_OPTION_SET_ERROR; */ + /* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */ } int |