haskell-gi-base

Foundation for libraries generated by haskell-gi

https://github.com/haskell-gi/haskell-gi-base

Version on this page:0.20.2
LTS Haskell 22.18:0.26.4
Stackage Nightly 2024-04-22:0.26.4
Latest on Hackage:0.26.4

See all snapshots haskell-gi-base appears in

LGPL-2.1-only licensed by Will Thompson, Iñaki García Etxebarria, Jonas Platte
Maintained by Iñaki García Etxebarria ([email protected])
This version can be pinned in stack with:haskell-gi-base-0.20.2@sha256:af8a0121efd182276e777395b05d200cc6061eff958a8135bdf0d9c05b0c8f37,2317

Foundation for libraries generated by haskell-gi

Changes

0.20.2

  • Fix fromGVariant for empty arrays, see #91 for details.

0.20.1

  • Add Data.GI.Base.CallStack, abstracting (and backporting to the extent possible) the HasCallStack constraint present in newer GHCs. Using this, we now include callstacks pervasively in the generated code.

  • Improve the WrappedPtr implementation.

  • Deprecate nulltoNothing, it is better to simply fix the overrides when necessary.

  • Make the semantics of GObject ownership transfer closer to those used by the Python bindings.