X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FForeignCall.h;h=0a962b571abb4907edfdbc3e63d86506d978d0d5;hb=3b6a5af52cff72d77600b848d6d851f71b162bc2;hp=f4df3fc21dc06ed55f27b2791014d825490a4456;hpb=dee29ec187607a1ae30959b9b45b9ddcd23356ea;p=ghc-hetmet.git diff --git a/ghc/rts/ForeignCall.h b/ghc/rts/ForeignCall.h index f4df3fc..0a962b5 100644 --- a/ghc/rts/ForeignCall.h +++ b/ghc/rts/ForeignCall.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: ForeignCall.h,v 1.6 1999/10/22 15:58:21 sewardj Exp $ + * $Id: ForeignCall.h,v 1.8 1999/11/08 15:30:39 sewardj Exp $ * * (c) The GHC Team, 1998-1999 * @@ -11,8 +11,11 @@ typedef int StablePtr; extern int ccall ( CFunDescriptor* descriptor, void (*fun)(void), - StgBCO** bco + StgBCO** bco, + char callconv, + Capability* cap ); extern StgAddr createAdjThunk ( StgStablePtr stableptr, - StgAddr typestr ); + StgAddr typestr, + StgChar callconv );