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


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

#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif

module GI.HarfBuzz.Constants
    ( 
    pattern VERSION_STRING                  ,
    pattern VERSION_MINOR                   ,
    pattern VERSION_MICRO                   ,
    pattern VERSION_MAJOR                   ,
    pattern UNICODE_MAX_DECOMPOSITION_LEN   ,
    pattern UNICODE_MAX                     ,
    pattern SET_VALUE_INVALID               ,
    pattern OT_VAR_NO_AXIS_INDEX            ,
    pattern OT_MAX_TAGS_PER_SCRIPT          ,
    pattern OT_MAX_TAGS_PER_LANGUAGE        ,
    pattern OT_LAYOUT_NO_VARIATIONS_INDEX   ,
    pattern OT_LAYOUT_NO_SCRIPT_INDEX       ,
    pattern OT_LAYOUT_NO_FEATURE_INDEX      ,
    pattern OT_LAYOUT_DEFAULT_LANGUAGE_INDEX,
    pattern MAP_VALUE_INVALID               ,
    pattern FEATURE_GLOBAL_START            ,
    pattern BUFFER_REPLACEMENT_CODEPOINT_DEFAULT,
    pattern AAT_LAYOUT_NO_SELECTOR_INDEX    ,

    ) 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.Coerce as Coerce
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
import qualified GHC.Records as R


-- | A string literal containing the library version available at compile-time.
pattern $bVERSION_STRING :: Text
$mVERSION_STRING :: forall {r}. Text -> ((# #) -> r) -> ((# #) -> r) -> r
VERSION_STRING = "2.8.2" :: T.Text

-- | The minor component of the library version available at compile-time.
pattern $bVERSION_MINOR :: Int32
$mVERSION_MINOR :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
VERSION_MINOR = 8 :: Int32

-- | The micro component of the library version available at compile-time.
pattern $bVERSION_MICRO :: Int32
$mVERSION_MICRO :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
VERSION_MICRO = 2 :: Int32

-- | The major component of the library version available at compile-time.
pattern $bVERSION_MAJOR :: Int32
$mVERSION_MAJOR :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
VERSION_MAJOR = 2 :: Int32

{-# DEPRECATED UNICODE_MAX_DECOMPOSITION_LEN ["(Since version 2.0.0)"] #-}
-- | See Unicode 6.1 for details on the maximum decomposition length.
pattern $bUNICODE_MAX_DECOMPOSITION_LEN :: Int32
$mUNICODE_MAX_DECOMPOSITION_LEN :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
UNICODE_MAX_DECOMPOSITION_LEN = 19 :: Int32

-- | Maximum valid Unicode code point.
-- 
-- /Since: 1.9.0/
pattern $bUNICODE_MAX :: Int32
$mUNICODE_MAX :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
UNICODE_MAX = 1114111 :: Int32

-- | Unset t'GI.HarfBuzz.Structs.SetT.SetT' value.
-- 
-- /Since: 0.9.21/
pattern $bSET_VALUE_INVALID :: Word32
$mSET_VALUE_INVALID :: forall {r}. Word32 -> ((# #) -> r) -> ((# #) -> r) -> r
SET_VALUE_INVALID = 4294967295 :: Word32

{-# DEPRECATED OT_VAR_NO_AXIS_INDEX ["(Since version 2.2.0)"] #-}
-- | Do not use.
-- 
-- /Since: 1.4.2/
pattern $bOT_VAR_NO_AXIS_INDEX :: Int32
$mOT_VAR_NO_AXIS_INDEX :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
OT_VAR_NO_AXIS_INDEX = 4294967295 :: Int32

-- | Maximum number of OpenType tags that can correspond to a give t'GI.HarfBuzz.Enums.ScriptT'.
-- 
-- /Since: 2.0.0/
pattern $bOT_MAX_TAGS_PER_SCRIPT :: Int32
$mOT_MAX_TAGS_PER_SCRIPT :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
OT_MAX_TAGS_PER_SCRIPT = 3 :: Int32

-- | Maximum number of OpenType tags that can correspond to a give t'GI.HarfBuzz.Structs.LanguageT.LanguageT'.
-- 
-- /Since: 2.0.0/
pattern $bOT_MAX_TAGS_PER_LANGUAGE :: Int32
$mOT_MAX_TAGS_PER_LANGUAGE :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
OT_MAX_TAGS_PER_LANGUAGE = 3 :: Int32

-- | Special value for variations index indicating unsupported variation.
pattern $bOT_LAYOUT_NO_VARIATIONS_INDEX :: Int32
$mOT_LAYOUT_NO_VARIATIONS_INDEX :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
OT_LAYOUT_NO_VARIATIONS_INDEX = 4294967295 :: Int32

-- | Special value for script index indicating unsupported script.
pattern $bOT_LAYOUT_NO_SCRIPT_INDEX :: Int32
$mOT_LAYOUT_NO_SCRIPT_INDEX :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
OT_LAYOUT_NO_SCRIPT_INDEX = 65535 :: Int32

-- | Special value for feature index indicating unsupported feature.
pattern $bOT_LAYOUT_NO_FEATURE_INDEX :: Int32
$mOT_LAYOUT_NO_FEATURE_INDEX :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
OT_LAYOUT_NO_FEATURE_INDEX = 65535 :: Int32

-- | Special value for language index indicating default or unsupported language.
pattern $bOT_LAYOUT_DEFAULT_LANGUAGE_INDEX :: Int32
$mOT_LAYOUT_DEFAULT_LANGUAGE_INDEX :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
OT_LAYOUT_DEFAULT_LANGUAGE_INDEX = 65535 :: Int32

-- | Unset t'GI.HarfBuzz.Structs.MapT.MapT' value.
-- 
-- /Since: 1.7.7/
pattern $bMAP_VALUE_INVALID :: Word32
$mMAP_VALUE_INVALID :: forall {r}. Word32 -> ((# #) -> r) -> ((# #) -> r) -> r
MAP_VALUE_INVALID = 4294967295 :: Word32

-- XXX: Could not generate constant
-- Not implemented: Don't know how to treat constants of type TInterface (Name {namespace = "HarfBuzz", name = "language_t"})

-- | Special setting for t'GI.HarfBuzz.Structs.FeatureT.FeatureT'.@/start/@ to apply the feature from the start
-- of the buffer.
-- 
-- /Since: 2.0.0/
pattern $bFEATURE_GLOBAL_START :: Int32
$mFEATURE_GLOBAL_START :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
FEATURE_GLOBAL_START = 0 :: Int32

-- | The default code point for replacing invalid characters in a given encoding.
-- Set to U+FFFD REPLACEMENT CHARACTER.
-- 
-- /Since: 0.9.31/
pattern $bBUFFER_REPLACEMENT_CODEPOINT_DEFAULT :: Int32
$mBUFFER_REPLACEMENT_CODEPOINT_DEFAULT :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_REPLACEMENT_CODEPOINT_DEFAULT = 65533 :: Int32

-- | Used when getting or setting AAT feature selectors. Indicates that
-- there is no selector index corresponding to the selector of interest.
pattern $bAAT_LAYOUT_NO_SELECTOR_INDEX :: Int32
$mAAT_LAYOUT_NO_SELECTOR_INDEX :: forall {r}. Int32 -> ((# #) -> r) -> ((# #) -> r) -> r
AAT_LAYOUT_NO_SELECTOR_INDEX = 65535 :: Int32