/*
 * MATLAB Compiler: 4.11 (R2009b)
 * Date: Wed Dec 08 11:35:07 2010
 * Arguments: "-B" "macro_default" "-W" "lib:test_dll_2" "-d"
 * "D:\Trading\matlab\fonctions\test_dll\test_3\test_dll_2\src" "-T" "link:lib"
 * "-v" "D:\Trading\matlab\fonctions\test_dll.m" 
 */

#ifndef __test_dll_2_h
#define __test_dll_2_h 1

#if defined(__cplusplus) && !defined(mclmcrrt_h) && defined(__linux__)
#  pragma implementation "mclmcrrt.h"
#endif
#include "mclmcrrt.h"
#ifdef __cplusplus
extern "C" {
#endif

#if defined(__SUNPRO_CC)
/* Solaris shared libraries use __global, rather than mapfiles
 * to define the API exported from a shared library. __global is
 * only necessary when building the library -- files including
 * this header file to use the library do not need the __global
 * declaration; hence the EXPORTING_<library> logic.
 */

#ifdef EXPORTING_test_dll_2
#define PUBLIC_test_dll_2_C_API __global
#else
#define PUBLIC_test_dll_2_C_API /* No import statement needed. */
#endif

#define LIB_test_dll_2_C_API PUBLIC_test_dll_2_C_API

#elif defined(_HPUX_SOURCE)

#ifdef EXPORTING_test_dll_2
#define PUBLIC_test_dll_2_C_API __declspec(dllexport)
#else
#define PUBLIC_test_dll_2_C_API __declspec(dllimport)
#endif

#define LIB_test_dll_2_C_API PUBLIC_test_dll_2_C_API


#else

#define LIB_test_dll_2_C_API

#endif

/* This symbol is defined in shared libraries. Define it here
 * (to nothing) in case this isn't a shared library. 
 */
#ifndef LIB_test_dll_2_C_API 
#define LIB_test_dll_2_C_API /* No special import/export declaration */
#endif

extern LIB_test_dll_2_C_API 
bool MW_CALL_CONV test_dll_2InitializeWithHandlers(
       mclOutputHandlerFcn error_handler, 
       mclOutputHandlerFcn print_handler);

extern LIB_test_dll_2_C_API 
bool MW_CALL_CONV test_dll_2Initialize(void);

extern LIB_test_dll_2_C_API 
void MW_CALL_CONV test_dll_2Terminate(void);



extern LIB_test_dll_2_C_API 
void MW_CALL_CONV test_dll_2PrintStackTrace(void);

extern LIB_test_dll_2_C_API 
bool MW_CALL_CONV mlxTest_dll(int nlhs, mxArray *plhs[], int nrhs, mxArray *prhs[]);

extern LIB_test_dll_2_C_API 
long MW_CALL_CONV test_dll_2GetMcrID();



extern LIB_test_dll_2_C_API bool MW_CALL_CONV mlfTest_dll(int nargout, mxArray** y, mxArray* x);

#ifdef __cplusplus
}
#endif
#endif
