[project @ 2000-04-11 20:44:17 by panne]
authorpanne <unknown>
Tue, 11 Apr 2000 20:44:20 +0000 (20:44 +0000)
committerpanne <unknown>
Tue, 11 Apr 2000 20:44:20 +0000 (20:44 +0000)
commitcd6055bc01f2b38bcd77b1b6943dda8dff3cb818
tree5a9742d282da2a38b6e2e820b86584f86cf6b6a3
parentdc84ee4790873b60afd6b110ec84b7cf84cf0ac9
[project @ 2000-04-11 20:44:17 by panne]
Cleaning up the foreign object naming mess:

   * Renamed the primop from makeForeignObj# to mkForeignObj#, this
     is more consistent with the old Foreign.mkForeignObj.

   * PrelForeign now exports makeForeignObj with the new signature.

   * freeFile.c now uses StgAddr instead of StgForeignObj, this
     removes the need for some fixIOs.

   * Lots of import tweaking to prepare The Big Foreign Renamer,
     which will move most of Foreign to ForeignObj, and FFI to Foreign.

Note: I've tried to track the changes in the interpreter sources, but
didn't test them.
16 files changed:
ghc/compiler/prelude/PrimOp.lhs
ghc/includes/PrimOps.h
ghc/interpreter/interface.c
ghc/interpreter/prelude/Prelude.hs
ghc/lib/std/PrelForeign.lhs
ghc/lib/std/PrelGHC.hi-boot
ghc/lib/std/PrelHandle.lhs
ghc/lib/std/PrelWeak.lhs
ghc/lib/std/cbits/freeFile.c
ghc/lib/std/cbits/stgio.h
ghc/rts/Assembler.c
ghc/rts/Bytecodes.h
ghc/rts/Evaluator.c
ghc/rts/HSrts.def
ghc/rts/PrimOps.hc
ghc/tests/typecheck/should_compile/tc085.stderr