diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-21 08:06:28 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-22 04:20:40 +0300 |
commit | b04514da5d19f69a504372ef5c6a204ca82c2e65 (patch) | |
tree | 3bd0f0bbf02071675c4ead5126eac422c205e2d9 /source/blender/blenlib/BLI_string_utf8.h | |
parent | 5bd1d63115e2867c90c1426ff506a2cc3823f3ef (diff) |
Cleanup: match names between functions & declarations
Mostly update the declarations, in some cases rename in the function
especially when the names used were inconstant with related functions.
Diffstat (limited to 'source/blender/blenlib/BLI_string_utf8.h')
-rw-r--r-- | source/blender/blenlib/BLI_string_utf8.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_string_utf8.h b/source/blender/blenlib/BLI_string_utf8.h index 4c5cc3fd9c5..58c9ad23e4c 100644 --- a/source/blender/blenlib/BLI_string_utf8.h +++ b/source/blender/blenlib/BLI_string_utf8.h @@ -157,8 +157,8 @@ size_t BLI_strnlen_utf8(const char *strc, size_t maxlen) ATTR_NONNULL(1) ATTR_WA size_t BLI_strncpy_wchar_as_utf8(char *__restrict dst, const wchar_t *__restrict src, size_t maxncpy) ATTR_NONNULL(1, 2); -size_t BLI_strncpy_wchar_from_utf8(wchar_t *__restrict dst, - const char *__restrict src, +size_t BLI_strncpy_wchar_from_utf8(wchar_t *__restrict dst_w, + const char *__restrict src_c, size_t maxncpy) ATTR_NONNULL(1, 2); /** |