haskell-gi-0.21.4: Generate Haskell bindings for GObject Introspection capable libraries
Data.GI.CodeGen.EnumFlags
Description
Support for enums and flags.
genEnum :: Name -> Enumeration -> CodeGen () Source #
genFlags :: Name -> Flags -> CodeGen () Source #
Very similar to enums, but we also declare ourselves as members of the IsGFlag typeclass.