diff --git a/matlab/CMakeLists.txt b/matlab/CMakeLists.txt index b9e93a5..d5625b8 100644 --- a/matlab/CMakeLists.txt +++ b/matlab/CMakeLists.txt @@ -21,7 +21,7 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) add_library(mex SHARED src/mex.cpp include/mex.h include/mex_versions.h) add_library(mx SHARED src/mx.cpp include/mex.h include/matrix.h include/matrix_versions.h) add_library(ut SHARED src/ut.cpp) -add_library(eng SHARED src/eng.cpp include/engine.h include/eng_Export.h) +add_library(eng SHARED src/eng.cpp include/engine.h) if (NOT MATLAB_API_VERSION) set(MATLAB_API_VERSION 800) diff --git a/matlab/include/engine.h b/matlab/include/engine.h index de25de8..4f1fb03 100644 --- a/matlab/include/engine.h +++ b/matlab/include/engine.h @@ -1,19 +1,18 @@ #ifndef engine_H #define engine_H -#include "eng_Export.h" extern "C" { typedef struct mxArray_tag mxArray; typedef struct engine Engine; - eng_Export int engEvalString(Engine *, const char *); - eng_Export Engine* engOpenSingleUse(const char *, void *, int *); - eng_Export Engine *engOpen(const char *); - eng_Export int engClose(Engine *ep); - eng_Export mxArray *engGetVariable(Engine *, const char *); - eng_Export int engPutVariable(Engine *, const char *, const mxArray *); - eng_Export int engOutputBuffer(Engine *, char *, int); + int engEvalString(Engine *, const char *); + Engine* engOpenSingleUse(const char *, void *, int *); + Engine *engOpen(const char *); + int engClose(Engine *ep); + mxArray *engGetVariable(Engine *, const char *); + int engPutVariable(Engine *, const char *, const mxArray *); + int engOutputBuffer(Engine *, char *, int); }