[Bf-blender-cvs] [b5f64cdb6e8] functions: float list type in C interface
Jacques Lucke
noreply at git.blender.org
Sun Mar 10 16:28:54 CET 2019
Commit: b5f64cdb6e8ab08b3343c840b21a94f50a39bd6e
Author: Jacques Lucke
Date: Sun Mar 10 16:28:14 2019 +0100
Branches: functions
https://developer.blender.org/rBb5f64cdb6e8ab08b3343c840b21a94f50a39bd6e
float list type in C interface
===================================================================
M source/blender/functions/FN-C.h
M source/blender/functions/c_wrapper.cpp
===================================================================
diff --git a/source/blender/functions/FN-C.h b/source/blender/functions/FN-C.h
index c09c4c95281..2eb950eec03 100644
--- a/source/blender/functions/FN-C.h
+++ b/source/blender/functions/FN-C.h
@@ -37,10 +37,12 @@ void FN_type_free(FnType type);
FnType FN_type_get_float(void);
FnType FN_type_get_int32(void);
FnType FN_type_get_fvec3(void);
+FnType FN_type_get_float_list(void);
FnType FN_type_borrow_float(void);
FnType FN_type_borrow_int32(void);
FnType FN_type_borrow_fvec3(void);
+FnType FN_type_borrow_float_list(void);
/*************** Tuple Call ****************/
diff --git a/source/blender/functions/c_wrapper.cpp b/source/blender/functions/c_wrapper.cpp
index 251d49955fc..ba37dfd9481 100644
--- a/source/blender/functions/c_wrapper.cpp
+++ b/source/blender/functions/c_wrapper.cpp
@@ -232,6 +232,7 @@ static FnType get_type_with_increased_refcount(const SharedType &type)
SIMPLE_TYPE_GETTER(float);
SIMPLE_TYPE_GETTER(int32);
SIMPLE_TYPE_GETTER(fvec3);
+SIMPLE_TYPE_GETTER(float_list);
FnFunction FN_tree_to_function(bNodeTree *btree)
{
More information about the Bf-blender-cvs
mailing list