[project @ 2001-12-11 18:25:15 by sof]
[ghc-hetmet.git] / ghc / includes / PrimOps.h
index 55ef777..3af5f88 100644 (file)
@@ -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 */