diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2022-10-22 12:30:04 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-12-11 15:33:11 +0100 |
commit | abdabb3ae46061c00e4cd975710e6415672fd8cb (patch) | |
tree | 9eea29f1f1824df3a878caf1429b69efc71a4bbf /src/plugins | |
parent | a1b6d9622f65ab2e83fabd518805ef6d263ceb06 (diff) | |
download | weechat-abdabb3ae46061c00e4cd975710e6415672fd8cb.zip |
doc/api: Fix return values for callback_read in config_new_section
These return values were wrong in the description and C example. As can
be seen on lines 2835 and 2873-2903 of src/core/wee-config-file.c the
callback_read function should return the same as the function
config_file_option_set plus the value
WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND (which is also the same as
the possible return values of config_file_option_set_with_string).
The Python example was already correct and the C example was already
correct in the other languages apart from English.
These errors were introduced in commit 02e2b21d3 and commit 5210ff1ae.
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions