{-# LANGUAGE OverloadedStrings #-}
-- | Build time configuration used during code generation.
module GI.OSTree.Config ( overrides ) where

import qualified Data.Text as T
import Data.Text (Text)

-- | Overrides used when generating these bindings.
overrides :: Text
overrides :: Text
overrides = [Text] -> Text
T.unlines
 [ Text
"namespace OSTree"
 , Text
""
 , Text
"ignore RepoFileEnumeratorClass"
 , Text
"ignore LzmaDecompressorClass"
 , Text
"ignore LzmaCompressorClass"
 , Text
"ignore LibarchiveInputStreamClass"
 , Text
""
 , Text
"# This is using the deprecated allow-none annotations, which are ambiguous."
 , Text
"# See https://github.com/haskell-gi/haskell-gi/issues/106"
 , Text
"set-attr OSTree/Repo/load_file/@parameters/out_input nullable 1"
 , Text
"set-attr OSTree/Repo/load_file/@parameters/out_file_info nullable 1"
 , Text
"set-attr OSTree/Repo/load_file/@parameters/out_xattrs nullable 1"]