diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-10 05:25:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-10 06:40:01 +0300 |
commit | 65f139117db4aa23f0a59aba788cec843a43b098 (patch) | |
tree | a551b29147816631477438fcecab591d387fa344 /source/blender/blenlib/intern/string.c | |
parent | 548e9624d0fe72f3a4a1f5d494f29b123f03bc20 (diff) |
Cleanup: rename BLI_strescape to BLI_str_escape
Prepare for `BLI_str_unescape` which doesn't read well
without the separator.
Diffstat (limited to 'source/blender/blenlib/intern/string.c')
-rw-r--r-- | source/blender/blenlib/intern/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c index 02d12d2df9b..dd120a531fa 100644 --- a/source/blender/blenlib/intern/string.c +++ b/source/blender/blenlib/intern/string.c @@ -322,7 +322,7 @@ char *BLI_sprintfN(const char *__restrict format, ...) * TODO: support more fancy string escaping. current code is primitive * this basically is an ascii version of PyUnicode_EncodeUnicodeEscape() * which is a useful reference. */ -size_t BLI_strescape(char *__restrict dst, const char *__restrict src, const size_t maxncpy) +size_t BLI_str_escape(char *__restrict dst, const char *__restrict src, const size_t maxncpy) { size_t len = 0; |