X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FForeignCall.h;h=0a962b571abb4907edfdbc3e63d86506d978d0d5;hb=6d353fcbc9480b46cc675b5d7f077fd6cecee377;hp=8718ca01f84eaf6f53a204ad8473199f11477ef9;hpb=7f309f1c021e7583f724cce599ce2dd3c439361b;p=ghc-hetmet.git diff --git a/ghc/rts/ForeignCall.h b/ghc/rts/ForeignCall.h index 8718ca0..0a962b5 100644 --- a/ghc/rts/ForeignCall.h +++ b/ghc/rts/ForeignCall.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: ForeignCall.h,v 1.3 1999/02/05 16:02:41 simonm Exp $ + * $Id: ForeignCall.h,v 1.8 1999/11/08 15:30:39 sewardj Exp $ * * (c) The GHC Team, 1998-1999 * @@ -9,7 +9,13 @@ typedef int StablePtr; -extern void ccall ( CFunDescriptor* descriptor, void (*fun)(void) ); -extern void hcall ( HFunDescriptor* descriptor, StablePtr fun, void* as, void* rs ); - +extern int ccall ( CFunDescriptor* descriptor, + void (*fun)(void), + StgBCO** bco, + char callconv, + Capability* cap + ); +extern StgAddr createAdjThunk ( StgStablePtr stableptr, + StgAddr typestr, + StgChar callconv );