diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-09-12 17:51:55 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-09-12 17:55:35 +0300 |
commit | 058d218254418c1ae681b4b9e5c8a9be93ad69b3 (patch) | |
tree | a3e37bbb537809d798106fd00f40db94feb158d8 /source/blender/blenlib/CMakeLists.txt | |
parent | 914f4308fb828941436c1ecfb4a58b18017fbd1c (diff) |
BLI: new StringRef and StringRefNull data structures
These two data structures reference strings somewhere in memory.
They do not own the referenced string. The string is considered
const.
A string referenced by StringRefNull can be expected to be
null-terminated. That is not the case for StringRef.
This commit is a continuation of rB369d5e8ad2bb7c2.
Diffstat (limited to 'source/blender/blenlib/CMakeLists.txt')
-rw-r--r-- | source/blender/blenlib/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index b4db305ccd4..abef583913c 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -225,6 +225,7 @@ set(SRC BLI_strict_flags.h BLI_string.h BLI_string_cursor_utf8.h + BLI_string_ref.h BLI_string_utf8.h BLI_string_utils.h BLI_sys_types.h |