File: ccafbounds_terminate.c

    1   /*
    2    * ccafbounds_terminate.c
    3    *
    4    * Code generation for function 'ccafbounds_terminate'
    5    *
    6    */
    7   
    8   /* Include files */
    9   #include "rt_nonfinite.h"
   10   #include "ccafbounds.h"
   11   #include "ccafbounds_terminate.h"
   12   #include "_coder_ccafbounds_mex.h"
   13   #include "ccafbounds_data.h"
   14   
   15   /* Function Definitions */
   16   void ccafbounds_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 ccafbounds_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 (ccafbounds_terminate.c) */
   40