File: gjbf_terminate.c

    1   /*
    2    * gjbf_terminate.c
    3    *
    4    * Code generation for function 'gjbf_terminate'
    5    *
    6    */
    7   
    8   /* Include files */
    9   #include "rt_nonfinite.h"
   10   #include "gjbf.h"
   11   #include "gjbf_terminate.h"
   12   #include "_coder_gjbf_mex.h"
   13   #include "gjbf_data.h"
   14   #include "blas.h"
   15   
   16   /* Function Definitions */
   17   void gjbf_atexit(void)
   18   {
   19     emlrtStack st = { NULL, NULL, NULL };
   20   
   21     mexFunctionCreateRootTLS();
   22     st.tls = emlrtRootTLSGlobal;
   23     emlrtEnterRtStackR2012b(&st);
   24   
   25     /* Free instance data */
   26     covrtFreeInstanceData(&emlrtCoverageInstance);
   27   
   28     /* Free instance data */
   29     covrtFreeInstanceData(&emlrtCoverageInstance);
   30   
   31     /* Free instance data */
   32     covrtFreeInstanceData(&emlrtCoverageInstance);
   33   
   34     /* Free instance data */
   35     covrtFreeInstanceData(&emlrtCoverageInstance);
   36   
   37     /* Free instance data */
   38     covrtFreeInstanceData(&emlrtCoverageInstance);
   39   
   40     /* Free instance data */
   41     covrtFreeInstanceData(&emlrtCoverageInstance);
   42   
   43     /* Free instance data */
   44     covrtFreeInstanceData(&emlrtCoverageInstance);
   45   
   46     /* Free instance data */
   47     covrtFreeInstanceData(&emlrtCoverageInstance);
   48   
   49     /* Free instance data */
   50     covrtFreeInstanceData(&emlrtCoverageInstance);
   51   
   52     /* Free instance data */
   53     covrtFreeInstanceData(&emlrtCoverageInstance);
   54   
   55     /* Free instance data */
   56     covrtFreeInstanceData(&emlrtCoverageInstance);
   57   
   58     /* Free instance data */
   59     covrtFreeInstanceData(&emlrtCoverageInstance);
   60     emlrtLeaveRtStackR2012b(&st);
   61     emlrtDestroyRootTLS(&emlrtRootTLSGlobal);
   62   }
   63   
   64   void gjbf_terminate(void)
   65   {
   66     emlrtStack st = { NULL, NULL, NULL };
   67   
   68     st.tls = emlrtRootTLSGlobal;
   69     emlrtLeaveRtStackR2012b(&st);
   70     emlrtDestroyRootTLS(&emlrtRootTLSGlobal);
   71   }
   72   
   73   /* End of code generation (gjbf_terminate.c) */
   74