{-# LINE 1 "Data/GI/Base/Internal/CTypes.hsc" #-}
-- | Versions of hsc2hs older than 0.68.6 cannot deal with Haskell
-- code including promoted constructors, so isolate the required types
-- in here.
--
-- /Warning/: This module is internal, and might disappear in the future.
module Data.GI.Base.Internal.CTypes
  ( GQuark
  , C_gint
  , cgvalueSize
  , gerror_domain_offset
  , gerror_code_offset
  , gerror_message_offset
  ) where



import Data.Int
import Data.Word

-- | The size in bytes of a GValue struct in C.
cgvalueSize :: Int
cgvalueSize = (24)
{-# LINE 23 "Data/GI/Base/Internal/CTypes.hsc" #-}

-- | The Haskell type corresponding to a GQuark on the C side.
type GQuark = Word32
{-# LINE 26 "Data/GI/Base/Internal/CTypes.hsc" #-}

-- | The Haskell type corresponding to a gint on the C side.
type C_gint = Int32
{-# LINE 29 "Data/GI/Base/Internal/CTypes.hsc" #-}

-- | The offset in bytes inside a `GError` of its @domain@ field.
gerror_domain_offset :: Int
gerror_domain_offset = (0)
{-# LINE 33 "Data/GI/Base/Internal/CTypes.hsc" #-}

-- | The offset in bytes inside a `GError` of its @code@ field.
gerror_code_offset :: Int
gerror_code_offset = (4)
{-# LINE 37 "Data/GI/Base/Internal/CTypes.hsc" #-}

-- | The offset in bytes inside a `GError` of its @emssage@ field.
gerror_message_offset :: Int
gerror_message_offset = (8)
{-# LINE 41 "Data/GI/Base/Internal/CTypes.hsc" #-}