[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.
Showing
- ghc/compiler/prelude/PrimOp.lhs 7 additions, 7 deletionsghc/compiler/prelude/PrimOp.lhs
- ghc/includes/PrimOps.h 2 additions, 2 deletionsghc/includes/PrimOps.h
- ghc/interpreter/interface.c 3 additions, 3 deletionsghc/interpreter/interface.c
- ghc/interpreter/prelude/Prelude.hs 2 additions, 2 deletionsghc/interpreter/prelude/Prelude.hs
- ghc/lib/std/PrelForeign.lhs 16 additions, 6 deletionsghc/lib/std/PrelForeign.lhs
- ghc/lib/std/PrelGHC.hi-boot 1 addition, 1 deletionghc/lib/std/PrelGHC.hi-boot
- ghc/lib/std/PrelHandle.lhs 7 additions, 11 deletionsghc/lib/std/PrelHandle.lhs
- ghc/lib/std/PrelWeak.lhs 2 additions, 2 deletionsghc/lib/std/PrelWeak.lhs
- ghc/lib/std/cbits/freeFile.c 4 additions, 4 deletionsghc/lib/std/cbits/freeFile.c
- ghc/lib/std/cbits/stgio.h 4 additions, 5 deletionsghc/lib/std/cbits/stgio.h
- ghc/rts/Assembler.c 3 additions, 3 deletionsghc/rts/Assembler.c
- ghc/rts/Bytecodes.h 2 additions, 2 deletionsghc/rts/Bytecodes.h
- ghc/rts/Evaluator.c 3 additions, 3 deletionsghc/rts/Evaluator.c
- ghc/rts/HSrts.def 1 addition, 1 deletionghc/rts/HSrts.def
- ghc/rts/PrimOps.hc 3 additions, 3 deletionsghc/rts/PrimOps.hc
- ghc/tests/typecheck/should_compile/tc085.stderr 1 addition, 1 deletionghc/tests/typecheck/should_compile/tc085.stderr
Loading
Please register or sign in to comment