summaryrefslogtreecommitdiff
path: root/src/main/Simulator/Flowsheet_01exo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/Simulator/Flowsheet_01exo.c')
-rw-r--r--src/main/Simulator/Flowsheet_01exo.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/Simulator/Flowsheet_01exo.c b/src/main/Simulator/Flowsheet_01exo.c
new file mode 100644
index 0000000..11ede4d
--- /dev/null
+++ b/src/main/Simulator/Flowsheet_01exo.c
@@ -0,0 +1,18 @@
+/* External objects file */
+#include "Flowsheet_model.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+void Flowsheet_callExternalObjectDestructors(DATA *data, threadData_t *threadData)
+{
+ if(data->simulationInfo->extObjs)
+ {
+ free(data->simulationInfo->extObjs);
+ data->simulationInfo->extObjs = 0;
+ }
+}
+#if defined(__cplusplus)
+}
+#endif
+