rts: Allow profile output path to be specified on RTS command line
[ghc.git] / includes / rts / Types.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 1998-2009
4 *
5 * RTS-specific types.
6 *
7 * Do not #include this file directly: #include "Rts.h" instead.
8 *
9 * To understand the structure of the RTS headers, see the wiki:
10 * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
11 *
12 * ---------------------------------------------------------------------------*/
13
14 #ifndef RTS_TYPES_H
15 #define RTS_TYPES_H
16
17 #include <stddef.h>
18 #include <stdbool.h>
19
20 // Deprecated, use uint32_t instead.
21 typedef unsigned int nat __attribute__((deprecated)); /* uint32_t */
22
23 /* ullong (64|128-bit) type: only include if needed (not ANSI) */
24 #if defined(__GNUC__)
25 #define LL(x) (x##LL)
26 #else
27 #define LL(x) (x##L)
28 #endif
29
30 typedef struct StgClosure_ StgClosure;
31 typedef struct StgInfoTable_ StgInfoTable;
32 typedef struct StgTSO_ StgTSO;
33
34 #endif /* RTS_TYPES_H */