summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-08-20 12:40:48 -0500
committerAustin Seipp <austin@well-typed.com>2014-08-20 12:51:29 -0500
commit772ffbe77e81b680124c41ba6b3119ca4d7ac2c1 (patch)
treeda7bf67219579fdbeb7812ec432c4aed36b19aaa
parentc867cbc8df1cb2d50e1f8d59c30f09ec7612a50a (diff)
downloadhaskell-772ffbe77e81b680124c41ba6b3119ca4d7ac2c1.tar.gz
[ci skip] includes: detabify/dewhitespace RtsAPI.h
Signed-off-by: Austin Seipp <austin@well-typed.com>
-rw-r--r--includes/RtsAPI.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/includes/RtsAPI.h b/includes/RtsAPI.h
index 6e4decb8bd..0ba16714e9 100644
--- a/includes/RtsAPI.h
+++ b/includes/RtsAPI.h
@@ -23,8 +23,8 @@ extern "C" {
*/
typedef enum {
NoStatus, /* not finished yet */
- Success, /* completed successfully */
- Killed, /* uncaught exception */
+ Success, /* completed successfully */
+ Killed, /* uncaught exception */
Interrupted, /* stopped in response to a call to interruptStgRts */
HeapExhausted /* out of memory */
} SchedulerStatus;
@@ -76,7 +76,7 @@ extern const RtsConfig defaultRtsConfig;
/* DEPRECATED, use hs_init() or hs_init_ghc() instead */
extern void startupHaskell ( int argc, char *argv[],
- void (*init_root)(void) );
+ void (*init_root)(void) );
/* DEPRECATED, use hs_exit() instead */
extern void shutdownHaskell ( void );
@@ -113,10 +113,10 @@ extern void (*exitFn)(int);
/* ----------------------------------------------------------------------------
Locking.
-
+
You have to surround all access to the RtsAPI with these calls.
------------------------------------------------------------------------- */
-
+
// acquires a token which may be used to create new objects and
// evaluate them.
Capability *rts_lock (void);
@@ -242,11 +242,11 @@ void rts_done (void);
These are used by foreign export and foreign import "wrapper" stubs.
----------------------------------------------------------------------- */
-// When producing Windows DLLs the we need to know which symbols are in the
-// local package/DLL vs external ones.
+// When producing Windows DLLs the we need to know which symbols are in the
+// local package/DLL vs external ones.
//
-// Note that RtsAPI.h is also included by foreign export stubs in
-// the base package itself.
+// Note that RtsAPI.h is also included by foreign export stubs in
+// the base package itself.
//
#if defined(COMPILING_WINDOWS_DLL) && !defined(COMPILING_BASE_PACKAGE)
__declspec(dllimport) extern StgWord base_GHCziTopHandler_runIO_closure[];