Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/functions/FN_multi_function_procedure.hh')
-rw-r--r--source/blender/functions/FN_multi_function_procedure.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/functions/FN_multi_function_procedure.hh b/source/blender/functions/FN_multi_function_procedure.hh
index 62f2292c1d9..407d87fde63 100644
--- a/source/blender/functions/FN_multi_function_procedure.hh
+++ b/source/blender/functions/FN_multi_function_procedure.hh
@@ -246,6 +246,9 @@ class MFProcedure : NonCopyable, NonMovable {
Span<MFVariable *> variables();
Span<const MFVariable *> variables() const;
+ Span<MFDestructInstruction *> destruct_instructions();
+ Span<const MFDestructInstruction *> destruct_instructions() const;
+
std::string to_dot() const;
bool validate() const;
@@ -449,4 +452,14 @@ inline Span<const MFVariable *> MFProcedure::variables() const
return variables_;
}
+inline Span<MFDestructInstruction *> MFProcedure::destruct_instructions()
+{
+ return destruct_instructions_;
+}
+
+inline Span<const MFDestructInstruction *> MFProcedure::destruct_instructions() const
+{
+ return destruct_instructions_;
+}
+
} // namespace blender::fn