packages feed

hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/reparse/cref_attributes.1.empty/th.txt

-- addDependentFile test-artefacts/headers/golden/macros/reparse/cref_attributes.h
-- #include <macros/reparse/cref_attributes.h>
-- void hs_bindgen_9f4b1c3748016429 (
--   signed int arg1
-- )
-- {
--   (foo)(arg1);
-- }
-- void hs_bindgen_183028e559c4eff2 (
--   signed int arg1
-- )
-- {
--   (bar)(arg1);
-- }
-- void hs_bindgen_e02b651508844cbb (
--   signed int arg1
-- )
-- {
--   (quux)(arg1);
-- }
-- void hs_bindgen_bc0a3a9b7f66fcad (
--   signed int arg1
-- )
-- {
--   (foo)(arg1);
-- }
-- void hs_bindgen_3e07344f1445a945 (
--   signed int arg1
-- )
-- {
--   (bar)(arg1);
-- }
-- void hs_bindgen_d67e55f386a01958 (
--   signed int arg1
-- )
-- {
--   (quux)(arg1);
-- }
-- /* test_macrosreparsecref_attributes_Example_get_foo */
-- __attribute__ ((const))
-- void (*hs_bindgen_dfdc3c5362469496 (void)) (
--   signed int arg1
-- )
-- {
--   return &foo;
-- }
-- /* test_macrosreparsecref_attributes_Example_get_bar */
-- __attribute__ ((const))
-- void (*hs_bindgen_b44be06e46c9f5f3 (void)) (
--   signed int arg1
-- )
-- {
--   return &bar;
-- }
-- /* test_macrosreparsecref_attributes_Example_get_quux */
-- __attribute__ ((const))
-- void (*hs_bindgen_f923b761933d67da (void)) (
--   signed int arg1
-- )
-- {
--   return &quux;
-- }
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_foo@
foreign import ccall safe "hs_bindgen_9f4b1c3748016429" hs_bindgen_9f4b1c3748016429_base ::
    CInt
 -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_foo@
hs_bindgen_9f4b1c3748016429 :: CInt -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_foo@
hs_bindgen_9f4b1c3748016429 = \x_0 -> hs_bindgen_9f4b1c3748016429_base (toFFIType x_0)
{-| __C declaration:__ @foo@

    __defined at:__ @macros\/reparse\/cref_attributes.h 3:6@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
foo_safe :: CInt -> IO ()
{-| __C declaration:__ @foo@

    __defined at:__ @macros\/reparse\/cref_attributes.h 3:6@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
foo_safe = hs_bindgen_9f4b1c3748016429
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_bar@
foreign import ccall safe "hs_bindgen_183028e559c4eff2" hs_bindgen_183028e559c4eff2_base ::
    CInt
 -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_bar@
hs_bindgen_183028e559c4eff2 :: CInt -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_bar@
hs_bindgen_183028e559c4eff2 = \x_0 -> hs_bindgen_183028e559c4eff2_base (toFFIType x_0)
{-| __C declaration:__ @bar@

    __defined at:__ @macros\/reparse\/cref_attributes.h 6:37@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
bar_safe :: CInt -> IO ()
{-| __C declaration:__ @bar@

    __defined at:__ @macros\/reparse\/cref_attributes.h 6:37@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
bar_safe = hs_bindgen_183028e559c4eff2
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_quux@
foreign import ccall safe "hs_bindgen_e02b651508844cbb" hs_bindgen_e02b651508844cbb_base ::
    CInt
 -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_quux@
hs_bindgen_e02b651508844cbb :: CInt -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Safe_quux@
hs_bindgen_e02b651508844cbb = \x_0 -> hs_bindgen_e02b651508844cbb_base (toFFIType x_0)
{-| __C declaration:__ @quux@

    __defined at:__ @macros\/reparse\/cref_attributes.h 11:13@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
quux_safe :: CInt -> IO ()
{-| __C declaration:__ @quux@

    __defined at:__ @macros\/reparse\/cref_attributes.h 11:13@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
quux_safe = hs_bindgen_e02b651508844cbb
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_foo@
foreign import ccall unsafe "hs_bindgen_bc0a3a9b7f66fcad" hs_bindgen_bc0a3a9b7f66fcad_base ::
    CInt
 -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_foo@
hs_bindgen_bc0a3a9b7f66fcad :: CInt -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_foo@
hs_bindgen_bc0a3a9b7f66fcad = \x_0 -> hs_bindgen_bc0a3a9b7f66fcad_base (toFFIType x_0)
{-| __C declaration:__ @foo@

    __defined at:__ @macros\/reparse\/cref_attributes.h 3:6@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
foo_unsafe :: CInt -> IO ()
{-| __C declaration:__ @foo@

    __defined at:__ @macros\/reparse\/cref_attributes.h 3:6@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
foo_unsafe = hs_bindgen_bc0a3a9b7f66fcad
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_bar@
foreign import ccall unsafe "hs_bindgen_3e07344f1445a945" hs_bindgen_3e07344f1445a945_base ::
    CInt
 -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_bar@
hs_bindgen_3e07344f1445a945 :: CInt -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_bar@
hs_bindgen_3e07344f1445a945 = \x_0 -> hs_bindgen_3e07344f1445a945_base (toFFIType x_0)
{-| __C declaration:__ @bar@

    __defined at:__ @macros\/reparse\/cref_attributes.h 6:37@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
bar_unsafe :: CInt -> IO ()
{-| __C declaration:__ @bar@

    __defined at:__ @macros\/reparse\/cref_attributes.h 6:37@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
bar_unsafe = hs_bindgen_3e07344f1445a945
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_quux@
foreign import ccall unsafe "hs_bindgen_d67e55f386a01958" hs_bindgen_d67e55f386a01958_base ::
    CInt
 -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_quux@
hs_bindgen_d67e55f386a01958 :: CInt -> IO ()
-- __unique:__ @test_macrosreparsecref_attributes_Example_Unsafe_quux@
hs_bindgen_d67e55f386a01958 = \x_0 -> hs_bindgen_d67e55f386a01958_base (toFFIType x_0)
{-| __C declaration:__ @quux@

    __defined at:__ @macros\/reparse\/cref_attributes.h 11:13@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
quux_unsafe :: CInt -> IO ()
{-| __C declaration:__ @quux@

    __defined at:__ @macros\/reparse\/cref_attributes.h 11:13@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
quux_unsafe = hs_bindgen_d67e55f386a01958
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_foo@
foreign import ccall unsafe "hs_bindgen_dfdc3c5362469496" hs_bindgen_dfdc3c5362469496_base ::
    IO (FunPtr Void)
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_foo@
hs_bindgen_dfdc3c5362469496 :: IO (FunPtr (CInt -> IO ()))
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_foo@
hs_bindgen_dfdc3c5362469496 = fmap fromFFIType hs_bindgen_dfdc3c5362469496_base
{-# NOINLINE foo_funptr #-}
{-| __C declaration:__ @foo@

    __defined at:__ @macros\/reparse\/cref_attributes.h 3:6@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
foo_funptr :: FunPtr (CInt -> IO ())
{-| __C declaration:__ @foo@

    __defined at:__ @macros\/reparse\/cref_attributes.h 3:6@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
foo_funptr = unsafePerformIO hs_bindgen_dfdc3c5362469496
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_bar@
foreign import ccall unsafe "hs_bindgen_b44be06e46c9f5f3" hs_bindgen_b44be06e46c9f5f3_base ::
    IO (FunPtr Void)
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_bar@
hs_bindgen_b44be06e46c9f5f3 :: IO (FunPtr (CInt -> IO ()))
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_bar@
hs_bindgen_b44be06e46c9f5f3 = fmap fromFFIType hs_bindgen_b44be06e46c9f5f3_base
{-# NOINLINE bar_funptr #-}
{-| __C declaration:__ @bar@

    __defined at:__ @macros\/reparse\/cref_attributes.h 6:37@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
bar_funptr :: FunPtr (CInt -> IO ())
{-| __C declaration:__ @bar@

    __defined at:__ @macros\/reparse\/cref_attributes.h 6:37@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
bar_funptr = unsafePerformIO hs_bindgen_b44be06e46c9f5f3
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_quux@
foreign import ccall unsafe "hs_bindgen_f923b761933d67da" hs_bindgen_f923b761933d67da_base ::
    IO (FunPtr Void)
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_quux@
hs_bindgen_f923b761933d67da :: IO (FunPtr (CInt -> IO ()))
-- __unique:__ @test_macrosreparsecref_attributes_Example_get_quux@
hs_bindgen_f923b761933d67da = fmap fromFFIType hs_bindgen_f923b761933d67da_base
{-# NOINLINE quux_funptr #-}
{-| __C declaration:__ @quux@

    __defined at:__ @macros\/reparse\/cref_attributes.h 11:13@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
quux_funptr :: FunPtr (CInt -> IO ())
{-| __C declaration:__ @quux@

    __defined at:__ @macros\/reparse\/cref_attributes.h 11:13@

    __exported by:__ @macros\/reparse\/cref_attributes.h@
-}
quux_funptr = unsafePerformIO hs_bindgen_f923b761933d67da