diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-14 19:06:18 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-14 19:06:18 +0300 |
commit | b42ce0c54cab8ff5f85ca795cc1f0dab4308449b (patch) | |
tree | a924f6615cf2f6ae1471311bc359d57a283e33f9 /source/blender/functions/CMakeLists.txt | |
parent | 5e8775a8da93292a6d8ef0eed3b89dea40c94399 (diff) |
Functions: Generic array data structure
Sometimes it's useful to pass around a set of values with a generic
type. The virtual array data structures allow this, but they don't
have logical ownership. My initial use case for this is as a return
type for the functions that interpolate curve attributes to evaluated
points, but a need for this data structure has come up in a few other
places as well. It also reduced the need for templates.
Differential Revision: https://developer.blender.org/D11103
Diffstat (limited to 'source/blender/functions/CMakeLists.txt')
-rw-r--r-- | source/blender/functions/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/functions/CMakeLists.txt b/source/blender/functions/CMakeLists.txt index 309b92f1cb4..844e21f5e2c 100644 --- a/source/blender/functions/CMakeLists.txt +++ b/source/blender/functions/CMakeLists.txt @@ -41,6 +41,7 @@ set(SRC FN_cpp_type.hh FN_cpp_type_make.hh + FN_generic_array.hh FN_field.hh FN_field_cpp_type.hh FN_generic_pointer.hh @@ -87,6 +88,7 @@ blender_add_lib(bf_functions "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") if(WITH_GTESTS) set(TEST_SRC tests/FN_cpp_type_test.cc + tests/FN_generic_array_test.cc tests/FN_field_test.cc tests/FN_generic_span_test.cc tests/FN_generic_vector_array_test.cc |