projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update submodules for GHC.HetMet.GArrow -> Control.GArrow renaming
[ghc-hetmet.git]
/
includes
/
RtsOpts.h
diff --git
a/includes/RtsOpts.h
b/includes/RtsOpts.h
index
e81a41c
..
b8eab68
100644
(file)
--- a/
includes/RtsOpts.h
+++ b/
includes/RtsOpts.h
@@
-9,8
+9,12
@@
#ifndef RTSOPTS_H
#define RTSOPTS_H
#ifndef RTSOPTS_H
#define RTSOPTS_H
-typedef enum {rtsOptsNone, rtsOptsSafeOnly, rtsOptsAll} rtsOptsEnabledEnum;
+typedef enum {
+ RtsOptsNone, // +RTS causes an error
+ RtsOptsSafeOnly, // safe RTS options allowed; others cause an error
+ RtsOptsAll // all RTS options allowed
+ } RtsOptsEnabledEnum;
-extern const rtsOptsEnabledEnum rtsOptsEnabled;
+extern const RtsOptsEnabledEnum rtsOptsEnabled;
#endif /* RTSOPTS_H */
#endif /* RTSOPTS_H */