X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=includes%2FRtsOpts.h;h=b8eab68d3b62c33726d027178d02072cf2040f9e;hp=e81a41c7dfe5d7bd1db2c156d2bc9ecb3d1a1306;hb=e5c3b478b3cd1707cf122833822f44b2ac09b8e9;hpb=320738062c7a81f062c5adab98a1a1c4fdbd4bc7 diff --git a/includes/RtsOpts.h b/includes/RtsOpts.h index e81a41c..b8eab68 100644 --- a/includes/RtsOpts.h +++ b/includes/RtsOpts.h @@ -9,8 +9,12 @@ #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 */