./devel/hs-libffi, Haskell binding to libffi

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.1nb4, Package name: hs-libffi-0.2.1nb4, Maintainer: pho

A binding to libffi, allowing C functions of types only known at
runtime to be called from Haskell.


Required to run:
[devel/libffi] [lang/ghc88]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 7.694 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-04-28 18:48:42 by Masatake Daimon | Files touched by this commit (1)
Log message:
devel/hs-libffi: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-24 16:02:46 by Masatake Daimon | Files touched by this commit (1)
Log message:
devel/hs-libffi: Fix build with GHC 9.6
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-24 17:52:29 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-libffi: Update to 0.2.1

0.2.1 [2022.09.24]
* Add sizeAndAlignmentOfCType to Foreign.LibFFI.Base, which can be used to
  retrieve the size and alignment of a CType.

0.2 [2022.08.11]
* The libffi library now uses bracket internally and should now be
  exception-safe.
* There is a now a ghc-bundled-libffi cabal flag that makes this library
  statically link against GHC's bundled copy of libffi rather than attempt
  to link against the system libffi. On the vast majority of GHCs, this is
  the most reasonable option, as linking against the system libffi is
  inherently fragile. As a result, +ghc-bundled-libffi is now the defalut
  setting. See the README for more discussion on this point.
* The definition of Arg has changed:
    -newtype Arg = Arg { unArg :: IO (Ptr CType, Ptr CValue, IO ()) }
    +newtype Arg = Arg { unArg :: forall a. (Ptr CType -> Ptr CValue -> IO \ 
a) -> IO a }
* The definition of RetType has changed:
    -data RetType a = RetType (Ptr CType) ((Ptr CValue -> IO ()) -> IO a)
    +newtype RetType a = RetType { unRetType :: (Ptr CType -> Ptr CValue \ 
-> IO ()) -> IO a }
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575)
Log message:
revbump after changing the default Haskell compiler