diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-30 08:18:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-30 08:18:03 +0300 |
commit | d59721e47aba4c9db96cfe5b10c63969ff361897 (patch) | |
tree | 9158cfdeb118e3b09f19ddc087c71c9ddcfabace /source/blender/blenlib/BLI_string.h | |
parent | d17cb3f75f2c1e3b0d729da24f5fd1793b823760 (diff) |
Cleanup: move BLI_char_switch into BLI_string
Diffstat (limited to 'source/blender/blenlib/BLI_string.h')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index 4818d717b54..007cb1386ab 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -58,6 +58,8 @@ char *BLI_str_quoted_substrN(const char *__restrict str, const char *__restrict char *BLI_str_replaceN(const char *__restrict str, const char *__restrict substr_old, const char *__restrict substr_new) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() ATTR_MALLOC; +void BLI_str_replace_char(char *string, char src, char dst) ATTR_NONNULL(); + size_t BLI_snprintf(char *__restrict dst, size_t maxncpy, const char *__restrict format, ...) ATTR_NONNULL(1, 3) ATTR_PRINTF_FORMAT(3, 4); size_t BLI_snprintf_rlen(char *__restrict dst, size_t maxncpy, const char *__restrict format, ...) ATTR_NONNULL(1, 3) ATTR_PRINTF_FORMAT(3, 4); |