Skip to content
Snippets Groups Projects
  1. Nov 01, 1999
  2. Oct 31, 1999
    • sof's avatar
      [project @ 1999-10-31 15:35:32 by sof] · aba5a247
      sof authored
      To workaround gcc/egcs bugs re: handling of non-toplevel "extern" decls,
      lift them out to the top. i.e., extend mechanism by which "typedefs"
      are lifted out to the toplevel (for the same reasons) to also encompass
      "extern"s.
      
      Note: the default is not to emit an "extern" decl for every _ccall_,
      as this runs the chance of (trivially) conflicting with header file
      includes. So, to enable, use -optC-femit-extern-decls.
      aba5a247
  3. Oct 29, 1999
  4. Oct 28, 1999
  5. Oct 27, 1999
  6. Oct 26, 1999
  7. Oct 25, 1999
    • sof's avatar
      [project @ 1999-10-25 13:20:57 by sof] · bd3fdabc
      sof authored
      FFI wibble:
      
      * disallow the use of {Mutable}ByteArrays in 'safe' foreign imports.
      * ensure that ForeignObjs live across a _ccall_GC_.
      bd3fdabc
    • AndyGill's avatar
      [project @ 1999-10-25 05:19:22 by andy] · 148227dc
      AndyGill authored
      Adding a axiomatic testing framework library to help test Hugs and GHC
      libraries.
      
      Here is the example for the test of concat.
      
      test_concat = testRules "concat" [
      	do (xss :: [[ALPHA]]) <- var "xss"
      	   concat xss <==> foldr (++) [] xss
      	]
      
      xss here ranges over various rendering of list of list,
      including bottom and lists containing bottom.
      
      <==> uses a small piece of compiler/interpreter specifics to
      allow testing for
      
      	error "" ... <==> ... error "" ===> Pass
      148227dc
  8. Oct 22, 1999
    • Julian Seward's avatar
      [project @ 1999-10-22 15:58:21 by sewardj] · dee29ec1
      Julian Seward authored
      * Completion of foreign import and foreign export for x86 ccall
        convention.  f-i's and f-x's can pass and return
        Char Int Word Addr StablePtr Float and Double.
      
      * Significant cleanups and infrastructure improvements.
        Characterise functions by (instruction set, calling convention)
        pair where necessary, since that's what counts.
      
        Moved foreign export code into rts/ForeignCall.c.
        Should now be in a good position to implement x86 stdcall
        convention.
      dee29ec1
Loading