diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-12-18 14:10:10 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-12-18 14:28:58 +0100 |
commit | 40339b288ac37ace539d9091e8a2878540f49273 (patch) | |
tree | 5570b3a5a48e8a4cee4daaa36bc002d93a392084 /src/core/wee-string.h | |
parent | eb6cc0bc2afa96824667521d3405bd1c077a4690 (diff) | |
download | weechat-40339b288ac37ace539d9091e8a2878540f49273.zip |
api: return newly allocated string in functions string_tolower and string_toupper
Diffstat (limited to 'src/core/wee-string.h')
-rw-r--r-- | src/core/wee-string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-string.h b/src/core/wee-string.h index 62e04f76d..59cb4fb64 100644 --- a/src/core/wee-string.h +++ b/src/core/wee-string.h @@ -42,8 +42,8 @@ extern char *string_cut (const char *string, int length, int count_suffix, extern char *string_reverse (const char *string); extern char *string_reverse_screen (const char *string); extern char *string_repeat (const char *string, int count); -extern void string_tolower (char *string); -extern void string_toupper (char *string); +extern char *string_tolower (const char *string); +extern char *string_toupper (const char *string); extern int string_strcasecmp (const char *string1, const char *string2); extern int string_strcasecmp_range (const char *string1, const char *string2, int range); |