[commit: ghc] master: [ci skip] includes: detabify/dewhitespace stg/Types.h (e7dd073)
git at git.haskell.org
git at git.haskell.org
Wed Aug 20 17:52:18 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/e7dd07345fbfe7623823ebd0442dbdab7f4b81c2/ghc
>---------------------------------------------------------------
commit e7dd07345fbfe7623823ebd0442dbdab7f4b81c2
Author: Austin Seipp <austin at well-typed.com>
Date: Wed Aug 20 12:43:32 2014 -0500
[ci skip] includes: detabify/dewhitespace stg/Types.h
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
e7dd07345fbfe7623823ebd0442dbdab7f4b81c2
includes/stg/Types.h | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/includes/stg/Types.h b/includes/stg/Types.h
index bdd3860..b27430f 100644
--- a/includes/stg/Types.h
+++ b/includes/stg/Types.h
@@ -26,19 +26,19 @@
*
* Specifically:
- StgInt8, 16, 32, 64
- StgWord8, 16, 32, 64
- StgChar, StgFloat, StgDouble
-
- ***** All the same size (i.e. sizeof(void *)): *****
- StgPtr Basic pointer type
- StgWord Unit of heap allocation
- StgInt Signed version of StgWord
- StgAddr Generic address type
-
- StgBool, StgVoid, StgPtr, StgOffset,
- StgCode, StgStablePtr, StgFunPtr,
- StgUnion.
+ StgInt8, 16, 32, 64
+ StgWord8, 16, 32, 64
+ StgChar, StgFloat, StgDouble
+
+ ***** All the same size (i.e. sizeof(void *)): *****
+ StgPtr Basic pointer type
+ StgWord Unit of heap allocation
+ StgInt Signed version of StgWord
+ StgAddr Generic address type
+
+ StgBool, StgVoid, StgPtr, StgOffset,
+ StgCode, StgStablePtr, StgFunPtr,
+ StgUnion.
*/
/*
@@ -125,13 +125,13 @@ typedef StgWord16 StgHalfWord;
typedef void* StgAddr;
typedef StgWord32 StgChar;
typedef int StgBool;
-typedef float StgFloat;
-typedef double StgDouble;
+typedef float StgFloat;
+typedef double StgDouble;
typedef StgWord* StgPtr; /* heap or stack pointer */
typedef StgWord volatile* StgVolatilePtr; /* pointer to volatile word */
typedef StgWord StgOffset; /* byte offset within closure */
-typedef StgWord8 StgCode; /* close enough */
-typedef void* StgStablePtr;
+typedef StgWord8 StgCode; /* close enough */
+typedef void* StgStablePtr;
typedef StgWord8* StgByteArray;
/*
More information about the ghc-commits
mailing list