diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-10-03 21:16:11 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-10-03 21:16:11 +0200 |
commit | 255e46eaef31d87e7df3a49e3b58745ff8dd251a (patch) | |
tree | 8f34e99075814319adb404b1b347564fb4c6819d /src/plugins | |
parent | 682979bb90aa99e35b129ad0ca914a3ef26d7345 (diff) | |
download | weechat-255e46eaef31d87e7df3a49e3b58745ff8dd251a.zip |
guile: return integer (0/1) instead of boolean in API functions
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/guile/weechat-guile-api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/guile/weechat-guile-api.c b/src/plugins/guile/weechat-guile-api.c index 77c2119fa..90855de6e 100644 --- a/src/plugins/guile/weechat-guile-api.c +++ b/src/plugins/guile/weechat-guile-api.c @@ -68,10 +68,10 @@ } #define API_RETURN_OK \ API_FREE_STRINGS; \ - return SCM_BOOL_T + return scm_from_int (1) #define API_RETURN_ERROR \ API_FREE_STRINGS \ - return SCM_BOOL_F + return scm_from_int (0) #define API_RETURN_EMPTY \ API_FREE_STRINGS; \ return scm_from_locale_string("") |