Commit 3e4dae71 authored by simonmar's avatar simonmar
Browse files

[project @ 2000-10-11 14:07:52 by simonmar]

add macro GLOBAL_VAR()
parent 4211484b
......@@ -10,6 +10,12 @@ you will screw up the layout where they are used in case expressions!
#endif
#ifdef __GLASGOW_HASKELL__
#define GLOBAL_VAR(name,value,ty) \
name = global (value) :: IORef (ty); \
{-# NOINLINE name #-}
#endif
#define COMMA ,
#ifdef DEBUG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment