    {-# LANGUAGE PatternSynonyms, ScopedTypeVariables, ViewPatterns #-}

    -- | Copyright  : Will Thompson, Iñaki García Etxebarria and Jonas Platte
    -- License    : LGPL-2.1
    -- Maintainer : Iñaki García Etxebarria

    #if !defined(__HADDOCK_VERSION__)
    #define ENABLE_OVERLOADING
    #endif

    module GI.GLib.Constants
        (
        pattern WIN32_MSG_HANDLE                ,
        pattern VERSION_MIN_REQUIRED            ,
        pattern VA_COPY_AS_ARRAY                ,
        pattern USEC_PER_SEC                    ,
        pattern URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS,
        pattern URI_RESERVED_CHARS_GENERIC_DELIMITERS,
        pattern UNICHAR_MAX_DECOMPOSITION_LENGTH,
        pattern TIME_SPAN_SECOND                ,
        pattern TIME_SPAN_MINUTE                ,
        pattern TIME_SPAN_MILLISECOND           ,
        pattern TIME_SPAN_HOUR                  ,
        pattern TIME_SPAN_DAY                   ,
        pattern TEST_OPTION_ISOLATE_DIRS        ,
        pattern SYSDEF_MSG_PEEK                 ,
        pattern SYSDEF_MSG_OOB                  ,
        pattern SYSDEF_MSG_DONTROUTE            ,
        pattern SYSDEF_AF_UNIX                  ,
        pattern SYSDEF_AF_INET6                 ,
        pattern SYSDEF_AF_INET                  ,
        pattern STR_DELIMITERS                  ,
        pattern SQRT2                           ,
        pattern SOURCE_REMOVE                   ,
        pattern SOURCE_CONTINUE                 ,
        pattern SIZEOF_VOID_P                   ,
        pattern SIZEOF_SSIZE_T                  ,
        pattern SIZEOF_SIZE_T                   ,
        pattern SIZEOF_LONG                     ,
        pattern SEARCHPATH_SEPARATOR_S          ,
        pattern SEARCHPATH_SEPARATOR            ,
        pattern PRIORITY_LOW                    ,
        pattern PRIORITY_HIGH_IDLE              ,
        pattern PRIORITY_HIGH                   ,
        pattern PRIORITY_DEFAULT_IDLE           ,
        pattern PRIORITY_DEFAULT                ,
        pattern POLLFD_FORMAT                   ,
        pattern PI_4                            ,
        pattern PI_2                            ,
        pattern PID_FORMAT                      ,
        pattern PI                              ,
        pattern PDP_ENDIAN                      ,
        pattern OPTION_REMAINING                ,
        pattern MODULE_SUFFIX                   ,
        pattern MINOR_VERSION                   ,
        pattern MININT8                         ,
        pattern MININT64                        ,
        pattern MININT32                        ,
        pattern MININT16                        ,
        pattern MICRO_VERSION                   ,
        pattern MAXUINT8                        ,
        pattern MAXUINT64                       ,
        pattern MAXUINT32                       ,
        pattern MAXUINT16                       ,
        pattern MAXINT8                         ,
        pattern MAXINT64                        ,
        pattern MAXINT32                        ,
        pattern MAXINT16                        ,
        pattern MAJOR_VERSION                   ,
        pattern LOG_LEVEL_USER_SHIFT            ,
        pattern LOG_FATAL_MASK                  ,
        pattern LOG_DOMAIN                      ,
        pattern LOG_2_BASE_10                   ,
        pattern LN2                             ,
        pattern LN10                            ,
        pattern LITTLE_ENDIAN                   ,
        pattern KEY_FILE_DESKTOP_TYPE_LINK      ,
        pattern KEY_FILE_DESKTOP_TYPE_DIRECTORY ,
        pattern KEY_FILE_DESKTOP_TYPE_APPLICATION,
        pattern KEY_FILE_DESKTOP_KEY_VERSION    ,
        pattern KEY_FILE_DESKTOP_KEY_URL        ,
        pattern KEY_FILE_DESKTOP_KEY_TYPE       ,
        pattern KEY_FILE_DESKTOP_KEY_TRY_EXEC   ,
        pattern KEY_FILE_DESKTOP_KEY_TERMINAL   ,
        pattern KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS,
        pattern KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY,
        pattern KEY_FILE_DESKTOP_KEY_PATH       ,
        pattern KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN,
        pattern KEY_FILE_DESKTOP_KEY_NO_DISPLAY ,
        pattern KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN,
        pattern KEY_FILE_DESKTOP_KEY_NAME       ,
        pattern KEY_FILE_DESKTOP_KEY_MIME_TYPE  ,
        pattern KEY_FILE_DESKTOP_KEY_ICON       ,
        pattern KEY_FILE_DESKTOP_KEY_HIDDEN     ,
        pattern KEY_FILE_DESKTOP_KEY_GENERIC_NAME,
        pattern KEY_FILE_DESKTOP_KEY_EXEC       ,
        pattern KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE,
        pattern KEY_FILE_DESKTOP_KEY_COMMENT    ,
        pattern KEY_FILE_DESKTOP_KEY_CATEGORIES ,
        pattern KEY_FILE_DESKTOP_KEY_ACTIONS    ,
        pattern KEY_FILE_DESKTOP_GROUP          ,
        pattern IEEE754_FLOAT_BIAS              ,
        pattern IEEE754_DOUBLE_BIAS             ,
        pattern HOOK_FLAG_USER_SHIFT            ,
        pattern HAVE_ISO_VARARGS                ,
        pattern HAVE_GROWING_STACK              ,
        pattern HAVE_GNUC_VISIBILITY            ,
        pattern HAVE_GNUC_VARARGS               ,
        pattern HAVE_GINT64                     ,
        pattern GUINTPTR_FORMAT                 ,
        pattern GUINT64_FORMAT                  ,
        pattern GUINT32_FORMAT                  ,
        pattern GUINT16_FORMAT                  ,
        pattern GSSIZE_MODIFIER                 ,
        pattern GSSIZE_FORMAT                   ,
        pattern GSIZE_MODIFIER                  ,
        pattern GSIZE_FORMAT                    ,
        pattern GNUC_PRETTY_FUNCTION            ,
        pattern GNUC_FUNCTION                   ,
        pattern GINTPTR_MODIFIER                ,
        pattern GINTPTR_FORMAT                  ,
        pattern GINT64_MODIFIER                 ,
        pattern GINT64_FORMAT                   ,
        pattern GINT32_MODIFIER                 ,
        pattern GINT32_FORMAT                   ,
        pattern GINT16_MODIFIER                 ,
        pattern GINT16_FORMAT                   ,
        pattern E                               ,
        pattern DIR_SEPARATOR_S                 ,
        pattern DIR_SEPARATOR                   ,
        pattern DATE_BAD_YEAR                   ,
        pattern DATE_BAD_JULIAN                 ,
        pattern DATE_BAD_DAY                    ,
        pattern DATALIST_FLAGS_MASK             ,
        pattern CSET_a_2_z                      ,
        pattern CSET_DIGITS                     ,
        pattern CSET_A_2_Z                      ,
        pattern BIG_ENDIAN                      ,
        pattern ASCII_DTOSTR_BUF_SIZE           ,
        pattern ANALYZER_ANALYZING              ,

        ) where

    import Data.GI.Base.ShortPrelude
    import qualified Data.GI.Base.ShortPrelude as SP
    import qualified Data.GI.Base.Overloading as O
    import qualified Prelude as P

    import qualified Data.GI.Base.Attributes as GI.Attributes
    import qualified Data.GI.Base.BasicTypes as B.Types
    import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
    import qualified Data.GI.Base.GArray as B.GArray
    import qualified Data.GI.Base.GClosure as B.GClosure
    import qualified Data.GI.Base.GError as B.GError
    import qualified Data.GI.Base.GVariant as B.GVariant
    import qualified Data.GI.Base.GValue as B.GValue
    import qualified Data.GI.Base.GParamSpec as B.GParamSpec
    import qualified Data.GI.Base.CallStack as B.CallStack
    import qualified Data.GI.Base.Properties as B.Properties
    import qualified Data.GI.Base.Signals as B.Signals
    import qualified Control.Monad.IO.Class as MIO
    import qualified Data.Text as T
    import qualified Data.ByteString.Char8 as B
    import qualified Data.Map as Map
    import qualified Foreign.Ptr as FP
    import qualified GHC.OverloadedLabels as OL

    -- | /No description available in the introspection data./
    pattern $bWIN32_MSG_HANDLE :: Int32
    $mWIN32_MSG_HANDLE :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    WIN32_MSG_HANDLE = 19981206 :: Int32

    -- | A macro that should be defined by the user prior to including
    -- the glib.h header.
    -- The definition should be one of the predefined GLib version
    -- macros: @/GLIB_VERSION_2_26/@, @/GLIB_VERSION_2_28/@,...
    --
    -- This macro defines the earliest version of GLib that the package is
    -- required to be able to compile against.
    --
    -- If the compiler is configured to warn about the use of deprecated
    -- functions, then using functions that were deprecated in version
    -- 'GI.GLib.Constants.VERSION_MIN_REQUIRED' or earlier will cause warnings (but
    -- using functions deprecated in later releases will not).
    --
    -- /Since: 2.32/
    pattern $bVERSION_MIN_REQUIRED :: Int32
    $mVERSION_MIN_REQUIRED :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    VERSION_MIN_REQUIRED = 2 :: Int32

    -- | /No description available in the introspection data./
    pattern $bVA_COPY_AS_ARRAY :: Int32
    $mVA_COPY_AS_ARRAY :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    VA_COPY_AS_ARRAY = 1 :: Int32

    -- | Number of microseconds in one second (1 million).
    -- This macro is provided for code readability.
    pattern $bUSEC_PER_SEC :: Int32
    $mUSEC_PER_SEC :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    USEC_PER_SEC = 1000000 :: Int32

    -- | Subcomponent delimiter characters as defined in
    -- <https://tools.ietf.org/html/rfc3986 RFC 3986>. Includes @!$&\'()*+,;=@.
    --
    -- /Since: 2.16/
    pattern $bURI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS :: Text
    $mURI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS = "!$&'()*+,;=" :: T.Text

    -- | Generic delimiters characters as defined in
    -- <https://tools.ietf.org/html/rfc3986 RFC 3986>. Includes @:\/?#[]\@@.
    --
    -- /Since: 2.16/
    pattern $bURI_RESERVED_CHARS_GENERIC_DELIMITERS :: Text
    $mURI_RESERVED_CHARS_GENERIC_DELIMITERS :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    URI_RESERVED_CHARS_GENERIC_DELIMITERS = ":/?#[]@" :: T.Text

    -- | The maximum length (in codepoints) of a compatibility or canonical
    -- decomposition of a single Unicode character.
    --
    -- This is as defined by Unicode 6.1.
    --
    -- /Since: 2.32/
    pattern $bUNICHAR_MAX_DECOMPOSITION_LENGTH :: Int32
    $mUNICHAR_MAX_DECOMPOSITION_LENGTH :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    UNICHAR_MAX_DECOMPOSITION_LENGTH = 18 :: Int32

    -- | Evaluates to a time span of one second.
    --
    -- /Since: 2.26/
    pattern $bTIME_SPAN_SECOND :: Int64
    $mTIME_SPAN_SECOND :: forall r. Int64 -> (Void# -> r) -> (Void# -> r) -> r
    TIME_SPAN_SECOND = 1000000 :: Int64

    -- | Evaluates to a time span of one minute.
    --
    -- /Since: 2.26/
    pattern $bTIME_SPAN_MINUTE :: Int64
    $mTIME_SPAN_MINUTE :: forall r. Int64 -> (Void# -> r) -> (Void# -> r) -> r
    TIME_SPAN_MINUTE = 60000000 :: Int64

    -- | Evaluates to a time span of one millisecond.
    --
    -- /Since: 2.26/
    pattern $bTIME_SPAN_MILLISECOND :: Int64
    $mTIME_SPAN_MILLISECOND :: forall r. Int64 -> (Void# -> r) -> (Void# -> r) -> r
    TIME_SPAN_MILLISECOND = 1000 :: Int64

    -- | Evaluates to a time span of one hour.
    --
    -- /Since: 2.26/
    pattern $bTIME_SPAN_HOUR :: Int64
    $mTIME_SPAN_HOUR :: forall r. Int64 -> (Void# -> r) -> (Void# -> r) -> r
    TIME_SPAN_HOUR = 3600000000 :: Int64

    -- | Evaluates to a time span of one day.
    --
    -- /Since: 2.26/
    pattern $bTIME_SPAN_DAY :: Int64
    $mTIME_SPAN_DAY :: forall r. Int64 -> (Void# -> r) -> (Void# -> r) -> r
    TIME_SPAN_DAY = 86400000000 :: Int64

    -- | Creates a unique temporary directory for each unit test and uses
    -- @/g_set_user_dirs()/@ to set XDG directories to point into subdirectories of it
    -- for the duration of the unit test. The directory tree is cleaned up after the
    -- test finishes successfully. Note that this doesn’t take effect until
    -- 'GI.GLib.Functions.testRun' is called, so calls to (for example) @/g_get_user_home_dir()/@ will
    -- return the system-wide value when made in a test program’s @/main()/@ function.
    --
    -- The following functions will return subdirectories of the temporary directory
    -- when this option is used. The specific subdirectory paths in use are not
    -- guaranteed to be stable API — always use a getter function to retrieve them.
    --
    --  - 'GI.GLib.Functions.getHomeDir'
    --  - 'GI.GLib.Functions.getUserCacheDir'
    --  - 'GI.GLib.Functions.getSystemConfigDirs'
    --  - 'GI.GLib.Functions.getUserConfigDir'
    --  - 'GI.GLib.Functions.getSystemDataDirs'
    --  - 'GI.GLib.Functions.getUserDataDir'
    --  - 'GI.GLib.Functions.getUserRuntimeDir'
    --
    -- The subdirectories may not be created by the test harness; as with normal
    -- calls to functions like 'GI.GLib.Functions.getUserCacheDir', the caller must be prepared
    -- to create the directory if it doesn’t exist.
    --
    -- /Since: 2.60/
    pattern $bTEST_OPTION_ISOLATE_DIRS :: Text
    $mTEST_OPTION_ISOLATE_DIRS :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    TEST_OPTION_ISOLATE_DIRS = "isolate_dirs" :: T.Text

    -- | /No description available in the introspection data./
    pattern $bSYSDEF_MSG_PEEK :: Int32
    $mSYSDEF_MSG_PEEK :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SYSDEF_MSG_PEEK = 2 :: Int32

    -- | /No description available in the introspection data./
    pattern $bSYSDEF_MSG_OOB :: Int32
    $mSYSDEF_MSG_OOB :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SYSDEF_MSG_OOB = 1 :: Int32

    -- | /No description available in the introspection data./
    pattern $bSYSDEF_MSG_DONTROUTE :: Int32
    $mSYSDEF_MSG_DONTROUTE :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SYSDEF_MSG_DONTROUTE = 4 :: Int32

    -- | /No description available in the introspection data./
    pattern $bSYSDEF_AF_UNIX :: Int32
    $mSYSDEF_AF_UNIX :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SYSDEF_AF_UNIX = 1 :: Int32

    -- | /No description available in the introspection data./
    pattern $bSYSDEF_AF_INET6 :: Int32
    $mSYSDEF_AF_INET6 :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SYSDEF_AF_INET6 = 10 :: Int32

    -- | /No description available in the introspection data./
    pattern $bSYSDEF_AF_INET :: Int32
    $mSYSDEF_AF_INET :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SYSDEF_AF_INET = 2 :: Int32

    -- | The standard delimiters, used in 'GI.GLib.Functions.strdelimit'.
    pattern $bSTR_DELIMITERS :: Text
    $mSTR_DELIMITERS :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    STR_DELIMITERS = "_-|> <." :: T.Text

    -- | The square root of two.
    pattern $bSQRT2 :: Double
    $mSQRT2 :: forall r. Double -> (Void# -> r) -> (Void# -> r) -> r
    SQRT2 = 1.414214 :: Double

    -- | Use this macro as the return value of a t'GI.GLib.Callbacks.SourceFunc' to remove
    -- the t'GI.GLib.Structs.Source.Source' from the main loop.
    --
    -- /Since: 2.32/
    pattern $bSOURCE_REMOVE :: Bool
    $mSOURCE_REMOVE :: forall r. Bool -> (Void# -> r) -> (Void# -> r) -> r
    SOURCE_REMOVE = P.False :: Bool

    -- | Use this macro as the return value of a t'GI.GLib.Callbacks.SourceFunc' to leave
    -- the t'GI.GLib.Structs.Source.Source' in the main loop.
    --
    -- /Since: 2.32/
    pattern $bSOURCE_CONTINUE :: Bool
    $mSOURCE_CONTINUE :: forall r. Bool -> (Void# -> r) -> (Void# -> r) -> r
    SOURCE_CONTINUE = P.True :: Bool

    -- | /No description available in the introspection data./
    pattern $bSIZEOF_VOID_P :: Int32
    $mSIZEOF_VOID_P :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SIZEOF_VOID_P = 8 :: Int32

    -- | /No description available in the introspection data./
    pattern $bSIZEOF_SSIZE_T :: Int32
    $mSIZEOF_SSIZE_T :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SIZEOF_SSIZE_T = 8 :: Int32

    -- | /No description available in the introspection data./
    pattern $bSIZEOF_SIZE_T :: Int32
    $mSIZEOF_SIZE_T :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SIZEOF_SIZE_T = 8 :: Int32

    -- | /No description available in the introspection data./
    pattern $bSIZEOF_LONG :: Int32
    $mSIZEOF_LONG :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SIZEOF_LONG = 8 :: Int32

    -- | The search path separator as a string.
    -- This is \":\" on UNIX machines and \";\" under Windows.
    pattern $bSEARCHPATH_SEPARATOR_S :: Text
    $mSEARCHPATH_SEPARATOR_S :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    SEARCHPATH_SEPARATOR_S = ":" :: T.Text

    -- | The search path separator character.
    -- This is \':\' on UNIX machines and \';\' under Windows.
    pattern $bSEARCHPATH_SEPARATOR :: Int32
    $mSEARCHPATH_SEPARATOR :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    SEARCHPATH_SEPARATOR = 58 :: Int32

    -- | Use this for very low priority background tasks.
    --
    -- It is not used within GLib or GTK+.
    pattern $bPRIORITY_LOW :: Int32
    $mPRIORITY_LOW :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    PRIORITY_LOW = 300 :: Int32

    -- | Use this for high priority idle functions.
    --
    -- GTK+ uses 'GI.GLib.Constants.PRIORITY_HIGH_IDLE' + 10 for resizing operations,
    -- and 'GI.GLib.Constants.PRIORITY_HIGH_IDLE' + 20 for redrawing operations. (This is
    -- done to ensure that any pending resizes are processed before any
    -- pending redraws, so that widgets are not redrawn twice unnecessarily.)
    pattern $bPRIORITY_HIGH_IDLE :: Int32
    $mPRIORITY_HIGH_IDLE :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    PRIORITY_HIGH_IDLE = 100 :: Int32

    -- | Use this for high priority event sources.
    --
    -- It is not used within GLib or GTK+.
    pattern $bPRIORITY_HIGH :: Int32
    $mPRIORITY_HIGH :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    PRIORITY_HIGH = -100 :: Int32

    -- | Use this for default priority idle functions.
    --
    -- In GLib this priority is used when adding idle functions with
    -- @/g_idle_add()/@.
    pattern $bPRIORITY_DEFAULT_IDLE :: Int32
    $mPRIORITY_DEFAULT_IDLE :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    PRIORITY_DEFAULT_IDLE = 200 :: Int32

    -- | Use this for default priority event sources.
    --
    -- In GLib this priority is used when adding timeout functions
    -- with @/g_timeout_add()/@. In GDK this priority is used for events
    -- from the X server.
    pattern $bPRIORITY_DEFAULT :: Int32
    $mPRIORITY_DEFAULT :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    PRIORITY_DEFAULT = 0 :: Int32

    -- | A format specifier that can be used in @/printf()/@-style format strings
    -- when printing the /@fd@/ member of a t'GI.GLib.Structs.PollFD.PollFD'.
    pattern $bPOLLFD_FORMAT :: Text
    $mPOLLFD_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    POLLFD_FORMAT = "%d" :: T.Text

    -- | Pi divided by 4.
    pattern $bPI_4 :: Double
    $mPI_4 :: forall r. Double -> (Void# -> r) -> (Void# -> r) -> r
    PI_4 = 0.785398 :: Double

    -- | Pi divided by 2.
    pattern $bPI_2 :: Double
    $mPI_2 :: forall r. Double -> (Void# -> r) -> (Void# -> r) -> r
    PI_2 = 1.570796 :: Double

    -- | A format specifier that can be used in @/printf()/@-style format strings
    -- when printing a @/GPid/@.
    --
    -- /Since: 2.50/
    pattern $bPID_FORMAT :: Text
    $mPID_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    PID_FORMAT = "i" :: T.Text

    -- | The value of pi (ratio of circle\'s circumference to its diameter).
    pattern $bPI :: Double
    $mPI :: forall r. Double -> (Void# -> r) -> (Void# -> r) -> r
    PI = 3.141593 :: Double

    -- | Specifies one of the possible types of byte order
    -- (currently unused). See @/G_BYTE_ORDER/@.
    pattern $bPDP_ENDIAN :: Int32
    $mPDP_ENDIAN :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    PDP_ENDIAN = 3412 :: Int32

    -- | If a long option in the main group has this name, it is not treated as a
    -- regular option. Instead it collects all non-option arguments which would
    -- otherwise be left in @argv@. The option must be of type
    -- 'GI.GLib.Enums.OptionArgCallback', 'GI.GLib.Enums.OptionArgStringArray'
    -- or 'GI.GLib.Enums.OptionArgFilenameArray'.
    --
    --
    -- Using 'GI.GLib.Constants.OPTION_REMAINING' instead of simply scanning @argv@
    -- for leftover arguments has the advantage that GOption takes care of
    -- necessary encoding conversions for strings or filenames.
    --
    -- /Since: 2.6/
    pattern $bOPTION_REMAINING :: Text
    $mOPTION_REMAINING :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    OPTION_REMAINING = "" :: T.Text

    -- | /No description available in the introspection data./
    pattern $bMODULE_SUFFIX :: Text
    $mMODULE_SUFFIX :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    MODULE_SUFFIX = "so" :: T.Text

    -- | The minor version number of the GLib library.
    --
    -- Like @/gtk_minor_version/@, but from the headers used at
    -- application compile time, rather than from the library
    -- linked against at application run time.
    pattern $bMINOR_VERSION :: Int32
    $mMINOR_VERSION :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    MINOR_VERSION = 66 :: Int32

    -- | The minimum value which can be held in a @/gint8/@.
    --
    -- /Since: 2.4/
    pattern $bMININT8 :: Int8
    $mMININT8 :: forall r. Int8 -> (Void# -> r) -> (Void# -> r) -> r
    MININT8 = -128 :: Int8

    -- | The minimum value which can be held in a @/gint64/@.
    pattern $bMININT64 :: Int64
    $mMININT64 :: forall r. Int64 -> (Void# -> r) -> (Void# -> r) -> r
    MININT64 = -9223372036854775808 :: Int64

    -- | The minimum value which can be held in a @/gint32/@.
    --
    -- /Since: 2.4/
    pattern $bMININT32 :: Int32
    $mMININT32 :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    MININT32 = -2147483648 :: Int32

    -- | The minimum value which can be held in a @/gint16/@.
    --
    -- /Since: 2.4/
    pattern $bMININT16 :: Int16
    $mMININT16 :: forall r. Int16 -> (Void# -> r) -> (Void# -> r) -> r
    MININT16 = -32768 :: Int16

    -- | The micro version number of the GLib library.
    --
    -- Like @/gtk_micro_version/@, but from the headers used at
    -- application compile time, rather than from the library
    -- linked against at application run time.
    pattern $bMICRO_VERSION :: Int32
    $mMICRO_VERSION :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    MICRO_VERSION = 0 :: Int32

    -- | The maximum value which can be held in a @/guint8/@.
    --
    -- /Since: 2.4/
    pattern $bMAXUINT8 :: Word8
    $mMAXUINT8 :: forall r. Word8 -> (Void# -> r) -> (Void# -> r) -> r
    MAXUINT8 = 255 :: Word8

    -- | The maximum value which can be held in a @/guint64/@.
    pattern $bMAXUINT64 :: Word64
    $mMAXUINT64 :: forall r. Word64 -> (Void# -> r) -> (Void# -> r) -> r
    MAXUINT64 = 18446744073709551615 :: Word64

    -- | The maximum value which can be held in a @/guint32/@.
    --
    -- /Since: 2.4/
    pattern $bMAXUINT32 :: Word32
    $mMAXUINT32 :: forall r. Word32 -> (Void# -> r) -> (Void# -> r) -> r
    MAXUINT32 = 4294967295 :: Word32

    -- | The maximum value which can be held in a @/guint16/@.
    --
    -- /Since: 2.4/
    pattern $bMAXUINT16 :: Word16
    $mMAXUINT16 :: forall r. Word16 -> (Void# -> r) -> (Void# -> r) -> r
    MAXUINT16 = 65535 :: Word16

    -- | The maximum value which can be held in a @/gint8/@.
    --
    -- /Since: 2.4/
    pattern $bMAXINT8 :: Int8
    $mMAXINT8 :: forall r. Int8 -> (Void# -> r) -> (Void# -> r) -> r
    MAXINT8 = 127 :: Int8

    -- | The maximum value which can be held in a @/gint64/@.
    pattern $bMAXINT64 :: Int64
    $mMAXINT64 :: forall r. Int64 -> (Void# -> r) -> (Void# -> r) -> r
    MAXINT64 = 9223372036854775807 :: Int64

    -- | The maximum value which can be held in a @/gint32/@.
    --
    -- /Since: 2.4/
    pattern $bMAXINT32 :: Int32
    $mMAXINT32 :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    MAXINT32 = 2147483647 :: Int32

    -- | The maximum value which can be held in a @/gint16/@.
    --
    -- /Since: 2.4/
    pattern $bMAXINT16 :: Int16
    $mMAXINT16 :: forall r. Int16 -> (Void# -> r) -> (Void# -> r) -> r
    MAXINT16 = 32767 :: Int16

    -- | The major version number of the GLib library.
    --
    -- Like @/glib_major_version/@, but from the headers used at
    -- application compile time, rather than from the library
    -- linked against at application run time.
    pattern $bMAJOR_VERSION :: Int32
    $mMAJOR_VERSION :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    MAJOR_VERSION = 2 :: Int32

    -- | Log levels below 1\<\<G_LOG_LEVEL_USER_SHIFT are used by GLib.
    -- Higher bits can be used for user-defined log levels.
    pattern $bLOG_LEVEL_USER_SHIFT :: Int32
    $mLOG_LEVEL_USER_SHIFT :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    LOG_LEVEL_USER_SHIFT = 8 :: Int32

    -- | GLib log levels that are considered fatal by default.
    --
    -- This is not used if structured logging is enabled; see
    -- [Using Structured Logging][using-structured-logging].
    pattern $bLOG_FATAL_MASK :: Int32
    $mLOG_FATAL_MASK :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    LOG_FATAL_MASK = 5 :: Int32

    -- | Defines the log domain. See <http://developer.gnome.org/glib/stable/#log-domains Log Domains>.
    --
    -- Libraries should define this so that any messages
    -- which they log can be differentiated from messages from other
    -- libraries and application code. But be careful not to define
    -- it in any public header files.
    --
    -- Log domains must be unique, and it is recommended that they are the
    -- application or library name, optionally followed by a hyphen and a sub-domain
    -- name. For example, @bloatpad@ or @bloatpad-io@.
    --
    -- If undefined, it defaults to the default 'P.Nothing' (or @\"\"@) log domain; this is
    -- not advisable, as it cannot be filtered against using the @G_MESSAGES_DEBUG@
    -- environment variable.
    --
    -- For example, GTK+ uses this in its @Makefile.am@:
    -- >
    -- >AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Gtk\"
    --
    --
    -- Applications can choose to leave it as the default 'P.Nothing' (or @\"\"@)
    -- domain. However, defining the domain offers the same advantages as
    -- above.
    pattern $bLOG_DOMAIN :: Int8
    $mLOG_DOMAIN :: forall r. Int8 -> (Void# -> r) -> (Void# -> r) -> r
    LOG_DOMAIN = 0 :: Int8

    -- | Multiplying the base 2 exponent by this number yields the base 10 exponent.
    pattern $bLOG_2_BASE_10 :: Double
    $mLOG_2_BASE_10 :: forall r. Double -> (Void# -> r) -> (Void# -> r) -> r
    LOG_2_BASE_10 = 0.301030 :: Double

    -- | The natural logarithm of 2.
    pattern $bLN2 :: Double
    $mLN2 :: forall r. Double -> (Void# -> r) -> (Void# -> r) -> r
    LN2 = 0.693147 :: Double

    -- | The natural logarithm of 10.
    pattern $bLN10 :: Double
    $mLN10 :: forall r. Double -> (Void# -> r) -> (Void# -> r) -> r
    LN10 = 2.302585 :: Double

    -- | Specifies one of the possible types of byte order.
    -- See @/G_BYTE_ORDER/@.
    pattern $bLITTLE_ENDIAN :: Int32
    $mLITTLE_ENDIAN :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    LITTLE_ENDIAN = 1234 :: Int32

    -- | The value of the 'GI.GLib.Constants.KEY_FILE_DESKTOP_KEY_TYPE', key for desktop
    -- entries representing links to documents.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_TYPE_LINK :: Text
    $mKEY_FILE_DESKTOP_TYPE_LINK :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_TYPE_LINK = "Link" :: T.Text

    -- | The value of the 'GI.GLib.Constants.KEY_FILE_DESKTOP_KEY_TYPE', key for desktop
    -- entries representing directories.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_TYPE_DIRECTORY :: Text
    $mKEY_FILE_DESKTOP_TYPE_DIRECTORY :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_TYPE_DIRECTORY = "Directory" :: T.Text

    -- | The value of the 'GI.GLib.Constants.KEY_FILE_DESKTOP_KEY_TYPE', key for desktop
    -- entries representing applications.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_TYPE_APPLICATION :: Text
    $mKEY_FILE_DESKTOP_TYPE_APPLICATION :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_TYPE_APPLICATION = "Application" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a string
    -- giving the version of the Desktop Entry Specification used for
    -- the desktop entry file.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_VERSION :: Text
    $mKEY_FILE_DESKTOP_KEY_VERSION :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_VERSION = "Version" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a string
    -- giving the URL to access. It is only valid for desktop entries
    -- with the @Link@ type.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_URL :: Text
    $mKEY_FILE_DESKTOP_KEY_URL :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_URL = "URL" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a string
    -- giving the type of the desktop entry. Usually
    -- 'GI.GLib.Constants.KEY_FILE_DESKTOP_TYPE_APPLICATION',
    -- 'GI.GLib.Constants.KEY_FILE_DESKTOP_TYPE_LINK', or
    -- 'GI.GLib.Constants.KEY_FILE_DESKTOP_TYPE_DIRECTORY'.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_TYPE :: Text
    $mKEY_FILE_DESKTOP_KEY_TYPE :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_TYPE = "Type" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a string
    -- giving the file name of a binary on disk used to determine if the
    -- program is actually installed. It is only valid for desktop entries
    -- with the @Application@ type.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_TRY_EXEC :: Text
    $mKEY_FILE_DESKTOP_KEY_TRY_EXEC :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_TRY_EXEC = "TryExec" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a boolean
    -- stating whether the program should be run in a terminal window.
    -- It is only valid for desktop entries with the
    -- @Application@ type.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_TERMINAL :: Text
    $mKEY_FILE_DESKTOP_KEY_TERMINAL :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_TERMINAL = "Terminal" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is string
    -- identifying the WM class or name hint of a window that the application
    -- will create, which can be used to emulate Startup Notification with
    -- older applications.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS :: Text
    $mKEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS = "StartupWMClass" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a boolean
    -- stating whether the application supports the
    -- <http://www.freedesktop.org/Standards/startup-notification-spec Startup Notification Protocol Specification>.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY :: Text
    $mKEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY = "StartupNotify" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a string
    -- containing the working directory to run the program in. It is only
    -- valid for desktop entries with the @Application@ type.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_PATH :: Text
    $mKEY_FILE_DESKTOP_KEY_PATH :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_PATH = "Path" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a list of
    -- strings identifying the environments that should display the
    -- desktop entry.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN :: Text
    $mKEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN = "OnlyShowIn" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a boolean
    -- stating whether the desktop entry should be shown in menus.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_NO_DISPLAY :: Text
    $mKEY_FILE_DESKTOP_KEY_NO_DISPLAY :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_NO_DISPLAY = "NoDisplay" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a list of
    -- strings identifying the environments that should not display the
    -- desktop entry.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_NOT_SHOW_IN :: Text
    $mKEY_FILE_DESKTOP_KEY_NOT_SHOW_IN :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN = "NotShowIn" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a localized
    -- string giving the specific name of the desktop entry.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_NAME :: Text
    $mKEY_FILE_DESKTOP_KEY_NAME :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_NAME = "Name" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a list
    -- of strings giving the MIME types supported by this desktop entry.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_MIME_TYPE :: Text
    $mKEY_FILE_DESKTOP_KEY_MIME_TYPE :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_MIME_TYPE = "MimeType" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a localized
    -- string giving the name of the icon to be displayed for the desktop
    -- entry.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_ICON :: Text
    $mKEY_FILE_DESKTOP_KEY_ICON :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_ICON = "Icon" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a boolean
    -- stating whether the desktop entry has been deleted by the user.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_HIDDEN :: Text
    $mKEY_FILE_DESKTOP_KEY_HIDDEN :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_HIDDEN = "Hidden" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a localized
    -- string giving the generic name of the desktop entry.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_GENERIC_NAME :: Text
    $mKEY_FILE_DESKTOP_KEY_GENERIC_NAME :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_GENERIC_NAME = "GenericName" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a string
    -- giving the command line to execute. It is only valid for desktop
    -- entries with the @Application@ type.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_EXEC :: Text
    $mKEY_FILE_DESKTOP_KEY_EXEC :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_EXEC = "Exec" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a boolean set to true
    -- if the application is D-Bus activatable.
    --
    -- /Since: 2.38/
    pattern $bKEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE :: Text
    $mKEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE = "DBusActivatable" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a localized
    -- string giving the tooltip for the desktop entry.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_COMMENT :: Text
    $mKEY_FILE_DESKTOP_KEY_COMMENT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_COMMENT = "Comment" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a list
    -- of strings giving the categories in which the desktop entry
    -- should be shown in a menu.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_KEY_CATEGORIES :: Text
    $mKEY_FILE_DESKTOP_KEY_CATEGORIES :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_CATEGORIES = "Categories" :: T.Text

    -- | A key under 'GI.GLib.Constants.KEY_FILE_DESKTOP_GROUP', whose value is a string list
    -- giving the available application actions.
    --
    -- /Since: 2.38/
    pattern $bKEY_FILE_DESKTOP_KEY_ACTIONS :: Text
    $mKEY_FILE_DESKTOP_KEY_ACTIONS :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_KEY_ACTIONS = "Actions" :: T.Text

    -- | The name of the main group of a desktop entry file, as defined in the
    -- <http://freedesktop.org/Standards/desktop-entry-spec Desktop Entry Specification>.
    -- Consult the specification for more
    -- details about the meanings of the keys below.
    --
    -- /Since: 2.14/
    pattern $bKEY_FILE_DESKTOP_GROUP :: Text
    $mKEY_FILE_DESKTOP_GROUP :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    KEY_FILE_DESKTOP_GROUP = "Desktop Entry" :: T.Text

    -- | The bias by which exponents in single-precision floats are offset.
    pattern $bIEEE754_FLOAT_BIAS :: Int32
    $mIEEE754_FLOAT_BIAS :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    IEEE754_FLOAT_BIAS = 127 :: Int32

    -- | The bias by which exponents in double-precision floats are offset.
    pattern $bIEEE754_DOUBLE_BIAS :: Int32
    $mIEEE754_DOUBLE_BIAS :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    IEEE754_DOUBLE_BIAS = 1023 :: Int32

    -- | The position of the first bit which is not reserved for internal
    -- use be the t'GI.GLib.Structs.Hook.Hook' implementation, i.e.
    -- @1 \<\< G_HOOK_FLAG_USER_SHIFT@ is the first
    -- bit which can be used for application-defined flags.
    pattern $bHOOK_FLAG_USER_SHIFT :: Int32
    $mHOOK_FLAG_USER_SHIFT :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    HOOK_FLAG_USER_SHIFT = 4 :: Int32

    -- | /No description available in the introspection data./
    pattern $bHAVE_ISO_VARARGS :: Int32
    $mHAVE_ISO_VARARGS :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    HAVE_ISO_VARARGS = 1 :: Int32

    -- | /No description available in the introspection data./
    pattern $bHAVE_GROWING_STACK :: Int32
    $mHAVE_GROWING_STACK :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    HAVE_GROWING_STACK = 0 :: Int32

    -- | Defined to 1 if gcc-style visibility handling is supported.
    pattern $bHAVE_GNUC_VISIBILITY :: Int32
    $mHAVE_GNUC_VISIBILITY :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    HAVE_GNUC_VISIBILITY = 1 :: Int32

    -- | /No description available in the introspection data./
    pattern $bHAVE_GNUC_VARARGS :: Int32
    $mHAVE_GNUC_VARARGS :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    HAVE_GNUC_VARARGS = 1 :: Int32

    -- | /No description available in the introspection data./
    pattern $bHAVE_GINT64 :: Int32
    $mHAVE_GINT64 :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    HAVE_GINT64 = 1 :: Int32

    -- | This is the platform dependent conversion specifier
    -- for scanning and printing values of type @/guintptr/@.
    --
    -- /Since: 2.22/
    pattern $bGUINTPTR_FORMAT :: Text
    $mGUINTPTR_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GUINTPTR_FORMAT = "lu" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning
    -- and printing values of type @/guint64/@. See also 'GI.GLib.Constants.GINT16_FORMAT'.
    --
    -- Some platforms do not support scanning and printing 64-bit integers,
    -- even though the types are supported. On such platforms 'GI.GLib.Constants.GUINT64_FORMAT'
    -- is not defined.  Note that @/scanf()/@ may not support 64-bit integers, even
    -- if 'GI.GLib.Constants.GINT64_FORMAT' is defined. Due to its weak error handling, @/scanf()/@
    -- is not recommended for parsing anyway; consider using 'GI.GLib.Functions.asciiStrtoull'
    -- instead.
    pattern $bGUINT64_FORMAT :: Text
    $mGUINT64_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GUINT64_FORMAT = "lu" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning
    -- and printing values of type @/guint32/@. See also 'GI.GLib.Constants.GINT16_FORMAT'.
    pattern $bGUINT32_FORMAT :: Text
    $mGUINT32_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GUINT32_FORMAT = "u" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning
    -- and printing values of type @/guint16/@. See also 'GI.GLib.Constants.GINT16_FORMAT'
    pattern $bGUINT16_FORMAT :: Text
    $mGUINT16_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GUINT16_FORMAT = "hu" :: T.Text

    -- | The platform dependent length modifier for conversion specifiers
    -- for scanning and printing values of type @/gssize/@. It
    -- is a string literal.
    --
    -- /Since: 2.6/
    pattern $bGSSIZE_MODIFIER :: Text
    $mGSSIZE_MODIFIER :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GSSIZE_MODIFIER = "l" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning
    -- and printing values of type @/gssize/@. See also 'GI.GLib.Constants.GINT16_FORMAT'.
    --
    -- /Since: 2.6/
    pattern $bGSSIZE_FORMAT :: Text
    $mGSSIZE_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GSSIZE_FORMAT = "li" :: T.Text

    -- | The platform dependent length modifier for conversion specifiers
    -- for scanning and printing values of type @/gsize/@. It
    -- is a string literal.
    --
    -- /Since: 2.6/
    pattern $bGSIZE_MODIFIER :: Text
    $mGSIZE_MODIFIER :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GSIZE_MODIFIER = "l" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning
    -- and printing values of type @/gsize/@. See also 'GI.GLib.Constants.GINT16_FORMAT'.
    --
    -- /Since: 2.6/
    pattern $bGSIZE_FORMAT :: Text
    $mGSIZE_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GSIZE_FORMAT = "lu" :: T.Text

    {-# DEPRECATED GNUC_PRETTY_FUNCTION ["(Since version 2.16)","Use @/G_STRFUNC()/@ instead"] #-}
    -- | Expands to \"\" on all modern compilers, and to __PRETTY_FUNCTION__
    -- on gcc version 2.x. Don\'t use it.
    pattern $bGNUC_PRETTY_FUNCTION :: Text
    $mGNUC_PRETTY_FUNCTION :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GNUC_PRETTY_FUNCTION = "" :: T.Text

    {-# DEPRECATED GNUC_FUNCTION ["(Since version 2.16)","Use @/G_STRFUNC()/@ instead"] #-}
    -- | Expands to \"\" on all modern compilers, and to  __FUNCTION__ on gcc
    -- version 2.x. Don\'t use it.
    pattern $bGNUC_FUNCTION :: Text
    $mGNUC_FUNCTION :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GNUC_FUNCTION = "" :: T.Text

    -- | The platform dependent length modifier for conversion specifiers
    -- for scanning and printing values of type @/gintptr/@ or @/guintptr/@.
    -- It is a string literal.
    --
    -- /Since: 2.22/
    pattern $bGINTPTR_MODIFIER :: Text
    $mGINTPTR_MODIFIER :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GINTPTR_MODIFIER = "l" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning
    -- and printing values of type @/gintptr/@.
    --
    -- /Since: 2.22/
    pattern $bGINTPTR_FORMAT :: Text
    $mGINTPTR_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GINTPTR_FORMAT = "li" :: T.Text

    -- | The platform dependent length modifier for conversion specifiers
    -- for scanning and printing values of type @/gint64/@ or @/guint64/@.
    -- It is a string literal.
    --
    -- Some platforms do not support printing 64-bit integers, even
    -- though the types are supported. On such platforms 'GI.GLib.Constants.GINT64_MODIFIER'
    -- is not defined.
    --
    -- /Since: 2.4/
    pattern $bGINT64_MODIFIER :: Text
    $mGINT64_MODIFIER :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GINT64_MODIFIER = "l" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning
    -- and printing values of type @/gint64/@. See also 'GI.GLib.Constants.GINT16_FORMAT'.
    --
    -- Some platforms do not support scanning and printing 64-bit integers,
    -- even though the types are supported. On such platforms 'GI.GLib.Constants.GINT64_FORMAT'
    -- is not defined. Note that @/scanf()/@ may not support 64-bit integers, even
    -- if 'GI.GLib.Constants.GINT64_FORMAT' is defined. Due to its weak error handling, @/scanf()/@
    -- is not recommended for parsing anyway; consider using 'GI.GLib.Functions.asciiStrtoull'
    -- instead.
    pattern $bGINT64_FORMAT :: Text
    $mGINT64_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GINT64_FORMAT = "li" :: T.Text

    -- | The platform dependent length modifier for conversion specifiers
    -- for scanning and printing values of type @/gint32/@ or @/guint32/@. It
    -- is a string literal. See also 'GI.GLib.Constants.GINT16_MODIFIER'.
    --
    -- /Since: 2.4/
    pattern $bGINT32_MODIFIER :: Text
    $mGINT32_MODIFIER :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GINT32_MODIFIER = "" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning
    -- and printing values of type @/gint32/@. See also 'GI.GLib.Constants.GINT16_FORMAT'.
    pattern $bGINT32_FORMAT :: Text
    $mGINT32_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GINT32_FORMAT = "i" :: T.Text

    -- | The platform dependent length modifier for conversion specifiers
    -- for scanning and printing values of type @/gint16/@ or @/guint16/@. It
    -- is a string literal, but doesn\'t include the percent-sign, such
    -- that you can add precision and length modifiers between percent-sign
    -- and conversion specifier and append a conversion specifier.
    --
    -- The following example prints \"0x7b\";
    --
    -- === /C code/
    -- >
    -- >gint16 value = 123;
    -- >g_print ("%#" G_GINT16_MODIFIER "x", value);
    --
    --
    -- /Since: 2.4/
    pattern $bGINT16_MODIFIER :: Text
    $mGINT16_MODIFIER :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GINT16_MODIFIER = "h" :: T.Text

    -- | This is the platform dependent conversion specifier for scanning and
    -- printing values of type @/gint16/@. It is a string literal, but doesn\'t
    -- include the percent-sign, such that you can add precision and length
    -- modifiers between percent-sign and conversion specifier.
    --
    --
    -- === /C code/
    -- >
    -- >gint16 in;
    -- >gint32 out;
    -- >sscanf ("42", "%" G_GINT16_FORMAT, &in)
    -- >out = in * 1000;
    -- >g_print ("%" G_GINT32_FORMAT, out);
    pattern $bGINT16_FORMAT :: Text
    $mGINT16_FORMAT :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    GINT16_FORMAT = "hi" :: T.Text

    -- | The base of natural logarithms.
    pattern $bE :: Double
    $mE :: forall r. Double -> (Void# -> r) -> (Void# -> r) -> r
    E = 2.718282 :: Double

    -- | The directory separator as a string.
    -- This is \"\/\" on UNIX machines and \"\\\" under Windows.
    pattern $bDIR_SEPARATOR_S :: Text
    $mDIR_SEPARATOR_S :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    DIR_SEPARATOR_S = "/" :: T.Text

    -- | The directory separator character.
    -- This is \'\/\' on UNIX machines and \'\\\' under Windows.
    pattern $bDIR_SEPARATOR :: Int32
    $mDIR_SEPARATOR :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    DIR_SEPARATOR = 47 :: Int32

    -- | Represents an invalid year.
    pattern $bDATE_BAD_YEAR :: Int32
    $mDATE_BAD_YEAR :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    DATE_BAD_YEAR = 0 :: Int32

    -- | Represents an invalid Julian day number.
    pattern $bDATE_BAD_JULIAN :: Int32
    $mDATE_BAD_JULIAN :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    DATE_BAD_JULIAN = 0 :: Int32

    -- | Represents an invalid @/GDateDay/@.
    pattern $bDATE_BAD_DAY :: Int32
    $mDATE_BAD_DAY :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    DATE_BAD_DAY = 0 :: Int32

    -- | A bitmask that restricts the possible flags passed to
    -- 'GI.GLib.Functions.datalistSetFlags'. Passing a flags value where
    -- flags & ~G_DATALIST_FLAGS_MASK != 0 is an error.
    pattern $bDATALIST_FLAGS_MASK :: Int32
    $mDATALIST_FLAGS_MASK :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    DATALIST_FLAGS_MASK = 3 :: Int32

    -- | The set of lowercase ASCII alphabet characters.
    -- Used for specifying valid identifier characters
    -- in t'GI.GLib.Structs.ScannerConfig.ScannerConfig'.
    pattern $bCSET_a_2_z :: Text
    $mCSET_a_2_z :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    CSET_a_2_z = "abcdefghijklmnopqrstuvwxyz" :: T.Text

    -- | The set of ASCII digits.
    -- Used for specifying valid identifier characters
    -- in t'GI.GLib.Structs.ScannerConfig.ScannerConfig'.
    pattern $bCSET_DIGITS :: Text
    $mCSET_DIGITS :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    CSET_DIGITS = "0123456789" :: T.Text

    -- | The set of uppercase ASCII alphabet characters.
    -- Used for specifying valid identifier characters
    -- in t'GI.GLib.Structs.ScannerConfig.ScannerConfig'.
    pattern $bCSET_A_2_Z :: Text
    $mCSET_A_2_Z :: forall r. Text -> (Void# -> r) -> (Void# -> r) -> r
    CSET_A_2_Z = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" :: T.Text

    -- | Specifies one of the possible types of byte order.
    -- See @/G_BYTE_ORDER/@.
    pattern $bBIG_ENDIAN :: Int32
    $mBIG_ENDIAN :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    BIG_ENDIAN = 4321 :: Int32

    -- | A good size for a buffer to be passed into 'GI.GLib.Functions.asciiDtostr'.
    -- It is guaranteed to be enough for all output of that function
    -- on systems with 64bit IEEE-compatible doubles.
    --
    -- The typical usage would be something like:
    --
    -- === /C code/
    -- >
    -- >  char buf[G_ASCII_DTOSTR_BUF_SIZE];
    -- >
    -- >  fprintf (out, "value=%s\n", g_ascii_dtostr (buf, sizeof (buf), value));
    pattern $bASCII_DTOSTR_BUF_SIZE :: Int32
    $mASCII_DTOSTR_BUF_SIZE :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    ASCII_DTOSTR_BUF_SIZE = 39 :: Int32

    -- | /No description available in the introspection data./
    pattern $bANALYZER_ANALYZING :: Int32
    $mANALYZER_ANALYZING :: forall r. Int32 -> (Void# -> r) -> (Void# -> r) -> r
    ANALYZER_ANALYZING = 1 :: Int32