projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-01-17 15:11:04 by simonmar]
[ghc-hetmet.git]
/
ghc
/
interpreter
/
dh_demo.c
diff --git
a/ghc/interpreter/dh_demo.c
b/ghc/interpreter/dh_demo.c
index
f9de33d
..
e925b7e
100644
(file)
--- a/
ghc/interpreter/dh_demo.c
+++ b/
ghc/interpreter/dh_demo.c
@@
-11,9
+11,11
@@
typedef int DH_MODULE;
typedef char* DH_LPCSTR;
__declspec(dllimport)
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)
__declspec(dllimport)
-extern void* DH_GetProcAddress ( DH_CALLCONV cconv,
+extern __stdcall
+ void* DH_GetProcAddress ( DH_CALLCONV cconv,
DH_MODULE hModule,
DH_LPCSTR lpProcName );
DH_MODULE hModule,
DH_LPCSTR lpProcName );