diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-23 13:04:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-23 13:16:17 +0300 |
commit | b9513706cb57290f5b7ecf085d933c832d622fa7 (patch) | |
tree | 80b00b16dff611b51724e452714acddde4d5db49 /source/blender/blenlib/BLI_string_utils.h | |
parent | 37cfa44222a6bdb92c825e614404a1c7e6bb97f8 (diff) |
Cleanup: mark VA_NARGS_COUNT as public
Was already used in two other headers, remove underscore prefix.
Diffstat (limited to 'source/blender/blenlib/BLI_string_utils.h')
-rw-r--r-- | source/blender/blenlib/BLI_string_utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_string_utils.h b/source/blender/blenlib/BLI_string_utils.h index e913ec3a15b..63c1e0344ad 100644 --- a/source/blender/blenlib/BLI_string_utils.h +++ b/source/blender/blenlib/BLI_string_utils.h @@ -60,13 +60,13 @@ char *BLI_string_join_array_by_sep_char_with_tableN( /* Take multiple arguments, pass as (array, length). */ #define BLI_string_joinN(...) \ BLI_string_join_arrayN( \ - ((const char *[]){__VA_ARGS__}), _VA_NARGS_COUNT(__VA_ARGS__)) + ((const char *[]){__VA_ARGS__}), VA_NARGS_COUNT(__VA_ARGS__)) #define BLI_string_join_by_sep_charN(sep, ...) \ BLI_string_join_array_by_sep_charN( \ - sep, ((const char *[]){__VA_ARGS__}), _VA_NARGS_COUNT(__VA_ARGS__)) + sep, ((const char *[]){__VA_ARGS__}), VA_NARGS_COUNT(__VA_ARGS__)) #define BLI_string_join_by_sep_char_with_tableN(sep, table, ...) \ BLI_string_join_array_by_sep_char_with_tableN( \ - sep, table, ((const char *[]){__VA_ARGS__}), _VA_NARGS_COUNT(__VA_ARGS__)) + 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); |