X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FDietHEP.h;h=28b3c05d409a562ae7b13db67b5fd48423ce3ea4;hb=553e90d9a32ee1b1809430f260c401cc4169c6c7;hp=ca62de83696fcbb1365a37fdd6b478548074d39e;hpb=b36d01c87fa805dfcf0a9b8cfc3038418139aeed;p=ghc-hetmet.git diff --git a/ghc/includes/DietHEP.h b/ghc/includes/DietHEP.h index ca62de8..28b3c05 100644 --- a/ghc/includes/DietHEP.h +++ b/ghc/includes/DietHEP.h @@ -3,8 +3,10 @@ typedef enum { dh_stdcall, dh_ccall } DH_CALLCONV; typedef int DH_MODULE; typedef char* DH_LPCSTR; -extern DH_MODULE DH_LoadLibrary ( DH_LPCSTR modname ); -extern void* DH_GetProcAddress ( DH_CALLCONV cconv, +extern __attribute__((__stdcall__)) + DH_MODULE DH_LoadLibrary ( DH_LPCSTR modname ); +extern __attribute__((__stdcall__)) + void* DH_GetProcAddress ( DH_CALLCONV cconv, DH_MODULE hModule, DH_LPCSTR lpProcName );