[project @ 2000-11-07 17:05:47 by simonmar]
authorsimonmar <unknown>
Tue, 7 Nov 2000 17:05:47 +0000 (17:05 +0000)
committersimonmar <unknown>
Tue, 7 Nov 2000 17:05:47 +0000 (17:05 +0000)
commit2de8104d13dde6a4ace1acc8c264b71908514b67
treeeb581af63793b04765f13b32ad1fafaef9457823
parentf6b748017d39ef026a72d834af7304e4f347e3c0
[project @ 2000-11-07 17:05:47 by simonmar]
Clean ups:

   - reduce the namespace pollution of StgTypes.h, it doesn't define
     the shorthand versions any more (W_, I_ etc.).  These are moved into
     Stg.h.  StgTypes.h also defines StgClosure as an "opaque" struct.

   - RtsAPI.h is now standalone, and includes HsFFI.h and thereby
     config.h & StgTypes.h.  Now we don't need to #include "Stg.h" in
     *_stub.c.

   - all the rts_mkXXXX and rts_getXXXX functions are defined in terms
     of the HsXXXX types rather than random C types (this fixes some
     potential bugs in our foreign export support).

   - added HsWord type, to match StgWord.  The Haskell version of this
     type isn't "documented", but perhaps it should be.
ghc/includes/Closures.h
ghc/includes/HsFFI.h
ghc/includes/RtsAPI.h
ghc/includes/Stable.h
ghc/includes/Stg.h
ghc/includes/StgTypes.h
ghc/rts/RtsAPI.c