Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #define MATLAB_MEX_FILE
  2. #ifdef MATLAB_MEX_FILE
  3. #define EXTERNC
  4. #else
  5. #define EXTERNC extern "C"
  6. #endif //MATLABMEXFILE
  7.  
  8. #ifndef _EAITACINT_
  9. #define _EAITACINT_
  10.  
  11. #include "EAI_Defines.h"
  12.  
  13. #ifdef WIN32
  14. #ifdef BUILD_TACTIONINTERFACE_DLL
  15. #define EXPORTtactionInterface EXTERNC __declspec(dllexport)
  16. #else
  17. #define EXPORTtactionInterface EXTERNC __declspec(dllimport)
  18. #endif
  19. #else
  20. #define EXPORTtactionInterface EXTERNC
  21. #endif
  22.  
  23. EXPORTtactionInterface
  24. int examplefunction1();
  25.  
  26. EXPORTtactionInterface
  27. int examplefunction2();
  28. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement