[project @ 2002-09-05 08:58:55 by simonmar]
[ghc-hetmet.git] / ghc / rts / Prelude.h
index c5a0bef..2e50819 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Prelude.h,v 1.19 2002/02/12 15:17:22 simonmar Exp $
+ * $Id: Prelude.h,v 1.21 2002/07/15 08:41:46 simonmar Exp $
  *
  * (c) The GHC Team, 1998-2001
  *
  * modules these names are defined in.
  */
 
-extern DLL_IMPORT const StgClosure GHCziBase_True_closure;
-extern DLL_IMPORT const StgClosure GHCziBase_False_closure;
-extern DLL_IMPORT const StgClosure GHCziPack_unpackCString_closure;
-extern DLL_IMPORT const StgClosure GHCziWeak_runFinalizzerBatch_closure;
-extern const StgClosure Main_zdmain_closure;
+extern DLL_IMPORT StgClosure GHCziBase_True_closure;
+extern DLL_IMPORT StgClosure GHCziBase_False_closure;
+extern DLL_IMPORT StgClosure GHCziPack_unpackCString_closure;
+extern DLL_IMPORT StgClosure GHCziWeak_runFinalizzerBatch_closure;
+extern StgClosure Main_zdmain_closure;
+extern DLL_IMPORT StgClosure GHCziTopHandler_runIO_closure;
+extern DLL_IMPORT StgClosure GHCziTopHandler_runNonIO_closure;
 
-extern DLL_IMPORT const StgClosure GHCziIOBase_stackOverflow_closure;
-extern DLL_IMPORT const StgClosure GHCziIOBase_heapOverflow_closure;
-extern DLL_IMPORT const StgClosure GHCziIOBase_BlockedOnDeadMVar_closure;
-extern DLL_IMPORT const StgClosure GHCziIOBase_NonTermination_closure;
-extern DLL_IMPORT const StgClosure GHCziIOBase_Deadlock_closure;
+extern DLL_IMPORT StgClosure GHCziIOBase_stackOverflow_closure;
+extern DLL_IMPORT StgClosure GHCziIOBase_heapOverflow_closure;
+extern DLL_IMPORT StgClosure GHCziIOBase_BlockedOnDeadMVar_closure;
+extern DLL_IMPORT StgClosure GHCziIOBase_NonTermination_closure;
+extern DLL_IMPORT StgClosure GHCziIOBase_Deadlock_closure;
 
 extern DLL_IMPORT const StgInfoTable GHCziBase_Czh_static_info;
 extern DLL_IMPORT const StgInfoTable GHCziBase_Izh_static_info;
@@ -64,6 +66,8 @@ extern DLL_IMPORT const StgInfoTable GHCziStable_StablePtr_con_info;
 #define unpackCString_closure     (&GHCziPack_unpackCString_closure)
 #define runFinalizerBatch_closure (&GHCziWeak_runFinalizzerBatch_closure)
 #define mainIO_closure            (&Main_zdmain_closure)
+#define runIO_closure            (&GHCziTopHandler_runIO_closure)
+#define runNonIO_closure         (&GHCziTopHandler_runNonIO_closure)
 
 #define stackOverflow_closure     (&GHCziIOBase_stackOverflow_closure)
 #define heapOverflow_closure      (&GHCziIOBase_heapOverflow_closure)