1. 12 Sep, 2004 1 commit
  2. 12 Apr, 2004 1 commit
    • panne's avatar
      [project @ 2004-04-12 16:26:40 by panne] · cc77a7ba
      panne authored
      Fixed a long-standing buglet in the signatures of hs_free_stable_ptr
      and hs_free_fun_ptr, both had a superfluous "*". Now everything
      conforms to the FFI addendum.
      cc77a7ba
  3. 28 Jan, 2003 1 commit
    • simonmar's avatar
      [project @ 2003-01-28 16:30:06 by simonmar] · 34b568ce
      simonmar authored
      Flesh out support for hs_init() and hs_exit() according to the latest
      FFI spec.
      
      For GHC, I also added:
      
        hs_add_root( void (*fn)(void) );
      
      which is used to specify the root module.  This *must* be called prior
      to invoking any Haskell functions.
      
      The previous way of doing things still works:
      
        startupHaskell( argc, argv, root );
      
      but the right way to do this is now
      
        hs_init( &argc, &argv );
        hs_add_root( root );
      
      It is possible to invoke hs_add_root() multiple times with different
      roots.
      
      - setProgArgv() has been removed; it was unused and looks like it was
        there to support STG Hugs.
      34b568ce
  4. 17 Nov, 2002 1 commit
    • panne's avatar
      [project @ 2002-11-17 15:27:07 by panne] · 7e63e7e6
      panne authored
      Added RTS entry points as mandated by the FFI addendum to the Haskell
      98 report. NOTE: The implementations of hs_init, hs_exit, and
      hs_set_argv are still missing.
      7e63e7e6