From: simonm Date: Tue, 27 Apr 1999 12:31:40 +0000 (+0000) Subject: [project @ 1999-04-27 12:31:40 by simonm] X-Git-Tag: Approximately_9120_patches~6296 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b999f3c2c79f194c79059df016cca01b0e070cb1;p=ghc-hetmet.git [project @ 1999-04-27 12:31:40 by simonm] Add macros for declaring closure tables. --- diff --git a/ghc/includes/StgMacros.h b/ghc/includes/StgMacros.h index 3687a80..89d6cef 100644 --- a/ghc/includes/StgMacros.h +++ b/ghc/includes/StgMacros.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgMacros.h,v 1.7 1999/03/02 19:44:18 sof Exp $ + * $Id: StgMacros.h,v 1.8 1999/04/27 12:31:40 simonm Exp $ * * (c) The GHC Team, 1998-1999 * @@ -58,6 +58,9 @@ #define EC_ extern StgClosure #define EDC_ extern DLLIMPORT StgClosure #define IC_ extern StgClosure +#define ECP_(x) extern const StgClosure *(x)[] +#define EDCP_(x) extern DLLIMPORT StgClosure *(x)[] +#define ICP_(x) extern const StgClosure *(x)[] /* ----------------------------------------------------------------------------- Stack Tagging.