From 14badcc77fd4021f95eff3b3e7b4a4c9b372b12a Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 11 Dec 2001 18:25:15 +0000 Subject: [PATCH] [project @ 2001-12-11 18:25:15 by sof] restore ForeignObj_CLOSURE_DATA - still used by PprAbsC.ppr_casm_arg --- ghc/includes/PrimOps.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 */ -- 1.7.10.4