diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-09 15:38:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-09 15:47:17 +0300 |
commit | ac619aaf38c3058e1b8cd0e665f011a0e1f692c3 (patch) | |
tree | 9965391c7fa950a6e002022dc610ef60d321a9db /source/blender/blenlib/BLI_string.h | |
parent | 73955e256678c5873ee83d32f861d7f35b917d57 (diff) |
BLI_string: BLI_str_ends_with -> BLI_str_endswith
Loosely following Python str convention.
Diffstat (limited to 'source/blender/blenlib/BLI_string.h')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index 4d2007f9fe0..54eb76490b8 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -85,8 +85,8 @@ 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(); int BLI_str_index_in_array(const char *__restrict str, const char **__restrict str_array) ATTR_NONNULL(); -bool BLI_str_ends_with(const char *str,const char *end) ATTR_NONNULL(); -bool BLI_strn_ends_with(const char *str,const char *end, int length) ATTR_NONNULL(); +bool BLI_str_endswith(const char *__restrict str, const char *__restrict end) ATTR_NONNULL(); +bool BLI_strn_endswith(const char *__restrict str, const char *__restrict end, int length) ATTR_NONNULL(); size_t BLI_str_partition(const char *str, const char delim[], char **sep, char **suf) ATTR_NONNULL(); size_t BLI_str_rpartition(const char *str, const char delim[], char **sep, char **suf) ATTR_NONNULL(); |