From: sof Date: Tue, 11 Dec 2001 18:25:15 +0000 (+0000) Subject: [project @ 2001-12-11 18:25:15 by sof] X-Git-Tag: Approximately_9120_patches~413 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=14badcc77fd4021f95eff3b3e7b4a4c9b372b12a;p=ghc-hetmet.git [project @ 2001-12-11 18:25:15 by sof] restore ForeignObj_CLOSURE_DATA - still used by PprAbsC.ppr_casm_arg --- diff --git a/ghc/includes/PrimOps.h b/ghc/includes/PrimOps.h index 55ef777..3af5f88 100644 --- a/ghc/includes/PrimOps.h +++ b/ghc/includes/PrimOps.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: PrimOps.h,v 1.87 2001/12/07 11:34:48 sewardj Exp $ + * $Id: PrimOps.h,v 1.88 2001/12/11 18:25:15 sof Exp $ * * (c) The GHC Team, 1998-2000 * @@ -487,4 +487,9 @@ extern StgInt stg_sig_install (StgInt, StgInt, StgStablePtr, sigset_t *); #define parzh(r,node) r = 1 #endif +/* ----------------------------------------------------------------------------- + ForeignObj - the C backend still needs this. + -------------------------------------------------------------------------- */ +#define ForeignObj_CLOSURE_DATA(c) (((StgForeignObj *)c)->data) + #endif /* PRIMOPS_H */