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

Safe HaskellNone
LanguageHaskell98

Data.GI.CodeGen.OverloadedMethods

Synopsis

Documentation

genMethodList :: Name -> [(Name, Method)] -> CodeGen () Source #

Generate the MethodList instance given the list of methods for the given named type.

genMethodInfo :: Name -> Method -> ExcCodeGen () Source #

Generate the MethodInfo type and instance for the given method.

genUnsupportedMethodInfo :: Name -> Method -> CodeGen () Source #

Generate a method info that is not actually callable, but rather gives a type error when trying to use it.