diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-12-28 07:58:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-12-28 08:00:08 +0300 |
commit | 00197a668b3463ff050d224967407241a98486cb (patch) | |
tree | 697c311b5db79fdd2571e48b67ae4c05e0f5896c /source/blender/blenlib/BLI_string_utf8.h | |
parent | e182d43d3e695a5086e8167b1ed4fc04ef43dbec (diff) |
BLI_string_utf8: add BLI_strncpy_utf8_rlen
Diffstat (limited to 'source/blender/blenlib/BLI_string_utf8.h')
-rw-r--r-- | source/blender/blenlib/BLI_string_utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_string_utf8.h b/source/blender/blenlib/BLI_string_utf8.h index 89754be25ba..3e599865416 100644 --- a/source/blender/blenlib/BLI_string_utf8.h +++ b/source/blender/blenlib/BLI_string_utf8.h @@ -34,6 +34,7 @@ extern "C" { #include "BLI_compiler_attrs.h" char *BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL(); +size_t BLI_strncpy_utf8_rlen(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL(); char *BLI_strncat_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL(); int BLI_utf8_invalid_byte(const char *str, int length) ATTR_NONNULL(); int BLI_utf8_invalid_strip(char *str, int length) ATTR_NONNULL(); |