diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-04-07 14:32:29 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-04-07 14:32:29 +0000 |
commit | 1baf1d957e195290cfd59089767ca63a547a9917 (patch) | |
tree | 38a48f9bffeb97d2f69934447be073a1728bf779 /mjLib.h |
This commit was generated by cvs2svn to compensate for changes in r1560,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/mjlib/; revision=1561
Diffstat (limited to 'mjLib.h')
-rw-r--r-- | mjLib.h | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -0,0 +1,29 @@ +#ifdef NT
+// The following ifdef block is the standard way of creating macros which make exporting
+// from a DLL simpler. All files within this DLL are compiled with the MJLIB_EXPORTS
+// symbol defined on the command line. this symbol should not be defined on any project
+// that uses this DLL. This way any other project whose source files include this file see
+// MJLIB_API functions as being imported from a DLL, wheras this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef MJLIB_EXPORTS
+#define MJLIB_API __declspec(dllexport)
+#else
+#define MJLIB_API __declspec(dllimport)
+#endif
+
+// This class is exported from the mjLib.dll
+//class MJLIB_API CMjLib {
+//public:
+// CMjLib(void);
+ // TODO: add your methods here.
+//};
+
+//extern MJLIB_API int nMjLib;
+
+//MJLIB_API int fnMjLib(void);
+
+ __declspec(dllexport) void mjLib_setup( void );
+
+ #endif
+
+
\ No newline at end of file |