| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Data.GI.CodeGen.Fixups
Description
Various fixups in the introspection data.
Synopsis
- dropMovedItems :: API -> Maybe API
 - guessPropertyNullability :: (Name, API) -> (Name, API)
 - detectGObject :: (Name, API) -> (Name, API)
 - dropDuplicatedFields :: (Name, API) -> (Name, API)
 - checkClosureDestructors :: (Name, API) -> (Name, API)
 - fixSymbolNaming :: (Name, API) -> (Name, API)
 
Documentation
guessPropertyNullability :: (Name, API) -> (Name, API) Source #
GObject-introspection does not currently support nullability annotations, so we try to guess the nullability from the nullability annotations of the curresponding get/set methods, which in principle should be reliable.
detectGObject :: (Name, API) -> (Name, API) Source #
Not every interface that provides signals/properties is marked as requiring GObject, but this is necessarily the case, so fix the introspection data accordingly.
dropDuplicatedFields :: (Name, API) -> (Name, API) Source #
Some libraries include duplicated flags by mistake, drop those.