X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=includes%2Fstg%2FTypes.h;h=e05690ac6e0f5010f0ca9db61654e7ad16e65c97;hp=227356c9eae2b354a9be1fe0012ed9d0162cc954;hb=d20d32d788e2d6c088e6b03776c428df5bb004d3;hpb=f871cf1bf889704a4ec1f0063ad4d96f31453ea3 diff --git a/includes/stg/Types.h b/includes/stg/Types.h index 227356c..e05690a 100644 --- a/includes/stg/Types.h +++ b/includes/stg/Types.h @@ -5,6 +5,23 @@ * Various C datatypes used in the run-time system. This is the * lowest-level include file, after ghcconfig.h and RtsConfig.h. * + * Do not #include this file directly: #include "Rts.h" instead. + * + * To understand the structure of the RTS headers, see the wiki: + * http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * + * NOTE: assumes #include "ghcconfig.h" + * + * Works with or without _POSIX_SOURCE. + * + * WARNING: Keep this file, MachDeps.h, and HsFFI.h in synch! + * + * ---------------------------------------------------------------------------*/ + +#ifndef STGTYPES_H +#define STGTYPES_H + +/* * This module should define types *only*, all beginning with "Stg". * * Specifically: @@ -22,17 +39,7 @@ StgBool, StgVoid, StgPtr, StgOffset, StgCode, StgStablePtr, StgFunPtr, StgUnion. - - * WARNING: Keep this file, MachDeps.h, and HsFFI.h in synch! - * - * NOTE: assumes #include "ghcconfig.h" - * - * Works with or without _POSIX_SOURCE. - * - * ---------------------------------------------------------------------------*/ - -#ifndef STGTYPES_H -#define STGTYPES_H + */ /* * First, platform-dependent definitions of size-specific integers.