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

Safe HaskellNone
LanguageHaskell98

Data.GI.GIR.Deprecation

Synopsis

Documentation

data DeprecationInfo Source #

Deprecation information on a symbol.

Instances

deprecatedPragma :: Text -> Maybe DeprecationInfo -> Text Source #

Encode the given DeprecationInfo for the given symbol as a deprecation pragma.

queryDeprecated :: Element -> Maybe DeprecationInfo Source #

Parse the deprecation information for the given element of the GIR file.