diff options
Diffstat (limited to 'src/main/Simulator/Graph_01exo.c')
-rw-r--r-- | src/main/Simulator/Graph_01exo.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/Simulator/Graph_01exo.c b/src/main/Simulator/Graph_01exo.c new file mode 100644 index 0000000..85c8ebd --- /dev/null +++ b/src/main/Simulator/Graph_01exo.c @@ -0,0 +1,18 @@ +/* External objects file */ +#include "Graph_model.h" +#if defined(__cplusplus) +extern "C" { +#endif + +void Graph_callExternalObjectDestructors(DATA *data, threadData_t *threadData) +{ + if(data->simulationInfo->extObjs) + { + free(data->simulationInfo->extObjs); + data->simulationInfo->extObjs = 0; + } +} +#if defined(__cplusplus) +} +#endif + |