haskell-gi-0.22.6: Generate Haskell bindings for GObject Introspection capable libraries

Safe HaskellNone
LanguageHaskell98

Data.GI.CodeGen.EnumFlags

Description

Support for enums and flags.

Synopsis

Documentation

genFlags :: Name -> Flags -> CodeGen () Source #

Very similar to enums, but we also declare ourselves as members of the IsGFlag typeclass.