From b999f3c2c79f194c79059df016cca01b0e070cb1 Mon Sep 17 00:00:00 2001 From: simonm <unknown> Date: Tue, 27 Apr 1999 12:31:40 +0000 Subject: [PATCH] [project @ 1999-04-27 12:31:40 by simonm] Add macros for declaring closure tables. --- ghc/includes/StgMacros.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc/includes/StgMacros.h b/ghc/includes/StgMacros.h index 3687a8045b84..89d6cef4f575 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. -- GitLab