diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-14 02:17:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-14 02:17:00 +0300 |
commit | b7c42ef93edeadc28015a6eae184ff07f26e9c36 (patch) | |
tree | 5db2071d1eeb564106cc960e8ec74df77ea90725 /source/blender/blenlib | |
parent | 2de497eee0aed6bf1444e494a3871ec0e0d728db (diff) |
Cleanup: use ascii as suffix (as with utf8)
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 4 | ||||
-rw-r--r-- | source/blender/blenlib/intern/string.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index 007cb1386ab..82780394ce7 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -81,8 +81,8 @@ int BLI_strcmp_ignore_pad(const char *str1, const char *str2, const char pad) AT size_t BLI_strnlen(const char *str, const size_t maxlen) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); -void BLI_ascii_strtolower(char *str, const size_t len) ATTR_NONNULL(); -void BLI_ascii_strtoupper(char *str, const size_t len) ATTR_NONNULL(); +void BLI_str_tolower_ascii(char *str, const size_t len) ATTR_NONNULL(); +void BLI_str_toupper_ascii(char *str, const size_t len) ATTR_NONNULL(); int BLI_str_rstrip_float_zero(char *str, const char pad) ATTR_NONNULL(); int BLI_str_index_in_array_n(const char *__restrict str, const char **__restrict str_array, const int str_array_len) ATTR_NONNULL(); diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c index 28cc5eb2f9f..6d75f7c4131 100644 --- a/source/blender/blenlib/intern/string.c +++ b/source/blender/blenlib/intern/string.c @@ -730,7 +730,7 @@ size_t BLI_strnlen(const char *s, const size_t maxlen) return len; } -void BLI_ascii_strtolower(char *str, const size_t len) +void BLI_str_tolower_ascii(char *str, const size_t len) { size_t i; @@ -739,7 +739,7 @@ void BLI_ascii_strtolower(char *str, const size_t len) str[i] += 'a' - 'A'; } -void BLI_ascii_strtoupper(char *str, const size_t len) +void BLI_str_toupper_ascii(char *str, const size_t len) { size_t i; |