Skip to content
Snippets Groups Projects
Commit 1773a3e1 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2000-07-26 13:27:54 by simonmar]

Add a constant definition for WORD_SIZE, the size of an StgWord in bytes.
parent 1deb7f34
No related merge requests found
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* $Id: Constants.h,v 1.11 2000/02/28 12:02:32 sewardj Exp $ * $Id: Constants.h,v 1.12 2000/07/26 13:27:54 simonmar Exp $
* *
* (c) The GHC Team, 1998-1999 * (c) The GHC Team, 1998-1999
* *
...@@ -158,6 +158,10 @@ ...@@ -158,6 +158,10 @@
#define INT64_SIZE 2 #define INT64_SIZE 2
#endif #endif
/*---- The size of StgWord, in bytes. */
#define WORD_SIZE SIZEOF_VOID_P
/*---- Maximum number of constructors in a data type for direct-returns. */ /*---- Maximum number of constructors in a data type for direct-returns. */
#define MAX_VECTORED_RTN 8 #define MAX_VECTORED_RTN 8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment