Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-09-01 08:24:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-01 08:24:01 +0300
commit5352b335983279a479abf22abe3a2d3d457597b4 (patch)
tree29eb41397f177bce0090f95185d62ddbc6814d11 /source/blender/blenlib/BLI_string_utils.h
parent2914ec571e34733ed89a64f182cf4045be49a28f (diff)
BLI_string: return string length from BLI_string_flip_side_name
Useful for callers that need the string length.
Diffstat (limited to 'source/blender/blenlib/BLI_string_utils.h')
-rw-r--r--source/blender/blenlib/BLI_string_utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_string_utils.h b/source/blender/blenlib/BLI_string_utils.h
index 1057e71a6b2..277bb6fac05 100644
--- a/source/blender/blenlib/BLI_string_utils.h
+++ b/source/blender/blenlib/BLI_string_utils.h
@@ -75,10 +75,10 @@ char *BLI_string_join_array_by_sep_char_with_tableN(char sep,
BLI_string_join_array_by_sep_char_with_tableN( \
sep, table, ((const char *[]){__VA_ARGS__}), VA_NARGS_COUNT(__VA_ARGS__))
-void BLI_string_flip_side_name(char *r_name,
- const char *from_name,
- const bool strip_number,
- const size_t name_len);
+size_t BLI_string_flip_side_name(char *r_name,
+ const char *from_name,
+ const bool strip_number,
+ const size_t name_len);
bool BLI_uniquename_cb(UniquenameCheckCallback unique_check,
void *arg,