diff options
Diffstat (limited to 'Simulator/Flowsheet_01exo.c')
-rw-r--r-- | Simulator/Flowsheet_01exo.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Simulator/Flowsheet_01exo.c b/Simulator/Flowsheet_01exo.c new file mode 100644 index 0000000..11ede4d --- /dev/null +++ b/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 + |