changeset 89:590263f68bd8

Add windows mangling of prototype of the entry point
author daedric <d43dr1c@gmail.com>
date Mon, 12 Apr 2010 16:38:32 +0200
parents 62d1c77ddc13
children f14cc8f23f4f
files include/IModule.hpp
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/include/IModule.hpp	Fri Apr 09 23:08:27 2010 +0200
+++ b/include/IModule.hpp	Mon Apr 12 16:38:32 2010 +0200
@@ -82,7 +82,14 @@
              *
              * @see IModule
              */
-            IModule *     ziaGetModuleInstance(void);
+#if WIN32
+            __declspec(dllexport)
+#endif
+            zia::api::IModule* 
+#if WIN32
+            __cdecl
+#endif 
+            ziaGetModuleInstance(void);
         }
     };
 };