File: wind_terminate.c1 /* 2 * wind_terminate.c 3 * 4 * Code generation for function 'wind_terminate' 5 * 6 */ 7 8 /* Include files */ 9 #include "rt_nonfinite.h" 10 #include "wind.h" 11 #include "wind_terminate.h" 12 #include "_coder_wind_mex.h" 13 #include "wind_data.h" 14 15 /* Function Definitions */ 16 void wind_atexit(void) 17 { 18 emlrtStack st = { NULL, NULL, NULL }; 19 20 mexFunctionCreateRootTLS(); 21 st.tls = emlrtRootTLSGlobal; 22 emlrtEnterRtStackR2012b(&st); 23 24 /* Free instance data */ 25 covrtFreeInstanceData(&emlrtCoverageInstance); 26 emlrtLeaveRtStackR2012b(&st); 27 emlrtDestroyRootTLS(&emlrtRootTLSGlobal); 28 } 29 30 void wind_terminate(void) 31 { 32 emlrtStack st = { NULL, NULL, NULL }; 33 34 st.tls = emlrtRootTLSGlobal; 35 emlrtLeaveRtStackR2012b(&st); 36 emlrtDestroyRootTLS(&emlrtRootTLSGlobal); 37 } 38 39 /* End of code generation (wind_terminate.c) */ 40 |