[project @ 2001-01-17 15:11:04 by simonmar]
[ghc-hetmet.git] / ghc / interpreter / dh_demo.c
index f9de33d..e925b7e 100644 (file)
@@ -11,9 +11,11 @@ typedef int                           DH_MODULE;
 typedef char*                         DH_LPCSTR;
 
 __declspec(dllimport)
-extern DH_MODULE DH_LoadLibrary    ( DH_LPCSTR modname );
+extern __stdcall
+       DH_MODULE DH_LoadLibrary    ( DH_LPCSTR modname );
 __declspec(dllimport)
-extern void*     DH_GetProcAddress ( DH_CALLCONV  cconv, 
+extern __stdcall
+       void*     DH_GetProcAddress ( DH_CALLCONV  cconv, 
                                      DH_MODULE    hModule, 
                                      DH_LPCSTR    lpProcName );