packages feed

hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/reparse/cref_attributes.2.raw/Example.hs

{-# LANGUAGE NoImplicitPrelude #-}

module Example
    ( Example.bOOL
    , Example.eXPORT
    )
  where

import qualified HsBindgen.Runtime.Macro as Macro
import Prelude (String)

{-| __C declaration:__ @macro BOOL@

    __defined at:__ @macros\/reparse\/cref_attributes.h 2:9@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
bOOL :: Macro.Raw String
bOOL = Macro.objectLike "BOOL" ["int"]

{-| __C declaration:__ @macro EXPORT@

    __defined at:__ @macros\/reparse\/cref_attributes.h 10:9@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
eXPORT :: Macro.Raw String
eXPORT =
  Macro.objectLike "EXPORT" ["[", "[", "gnu", "::", "visibility", "(", "\"default\"", ")", "]", "]"]