/* Copyright 2011-2013 The MathWorks, Inc. */ #ifndef __XILUTILS_SL_H__ #define __XILUTILS_SL_H__ /* Shipping C interface to the libmwxilutils_sl shared library. */ #ifndef EXTERN_C #ifdef __cplusplus /* support C++ call sites */ #define EXTERN_C extern "C" #else /* support C call sites */ #define EXTERN_C extern #endif #endif /* detect shipping call site */ #ifndef LIBMWXILUTILS_SL_API /* default definition */ #define LIBMWXILUTILS_SL_API #else #ifndef MATLAB_MEX_FILE #define MATLAB_MEX_FILE #endif #endif #include "simstruc.h" /* Create an XILSimulinkUtils object and return pointer the XILUtils base class via ppXILUtils */ EXTERN_C LIBMWXILUTILS_SL_API int xilSimulinkUtilsCreate(void** const ppXILUtils, SimStruct* const S); #endif