hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/redeclaration/identical_semantics.2.raw/th.txt
-- addDependentFile test-artefacts/headers/golden/macros/redeclaration/identical_semantics.h
-- #include <macros/redeclaration/identical_semantics.h>
-- void hs_bindgen_3a672aa51059499f (
-- signed int arg1
-- )
-- {
-- (foo)(arg1);
-- }
-- void hs_bindgen_f6ce0c67437e90e7 (
-- signed int arg1
-- )
-- {
-- (bar)(arg1);
-- }
-- void hs_bindgen_1f6a4a088740d7bc (
-- signed int arg1
-- )
-- {
-- (foo)(arg1);
-- }
-- void hs_bindgen_69080a62615bc0d8 (
-- signed int arg1
-- )
-- {
-- (bar)(arg1);
-- }
-- /* test_macrosredeclarationidentical_Example_get_foo */
-- __attribute__ ((const))
-- void (*hs_bindgen_a17f85783f80f294 (void)) (
-- signed int arg1
-- )
-- {
-- return &foo;
-- }
-- /* test_macrosredeclarationidentical_Example_get_bar */
-- __attribute__ ((const))
-- void (*hs_bindgen_fbbde3e7da8ad667 (void)) (
-- signed int arg1
-- )
-- {
-- return &bar;
-- }
{-| __C declaration:__ @macro T@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 2:9@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
t :: Raw String
{-| __C declaration:__ @macro T@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 2:9@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
t = objectLike "T" ["int"]
-- __unique:__ @test_macrosredeclarationidentical_Example_Safe_foo@
foreign import ccall safe "hs_bindgen_3a672aa51059499f" hs_bindgen_3a672aa51059499f_base ::
CInt
-> IO ()
-- __unique:__ @test_macrosredeclarationidentical_Example_Safe_foo@
hs_bindgen_3a672aa51059499f :: CInt -> IO ()
-- __unique:__ @test_macrosredeclarationidentical_Example_Safe_foo@
hs_bindgen_3a672aa51059499f = \x_0 -> hs_bindgen_3a672aa51059499f_base (toFFIType x_0)
{-| __C declaration:__ @foo@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 3:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
foo_safe :: CInt -> IO ()
{-| __C declaration:__ @foo@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 3:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
foo_safe = hs_bindgen_3a672aa51059499f
-- __unique:__ @test_macrosredeclarationidentical_Example_Safe_bar@
foreign import ccall safe "hs_bindgen_f6ce0c67437e90e7" hs_bindgen_f6ce0c67437e90e7_base ::
CInt
-> IO ()
-- __unique:__ @test_macrosredeclarationidentical_Example_Safe_bar@
hs_bindgen_f6ce0c67437e90e7 :: CInt -> IO ()
-- __unique:__ @test_macrosredeclarationidentical_Example_Safe_bar@
hs_bindgen_f6ce0c67437e90e7 = \x_0 -> hs_bindgen_f6ce0c67437e90e7_base (toFFIType x_0)
{-| __C declaration:__ @bar@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 5:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
bar_safe :: CInt -> IO ()
{-| __C declaration:__ @bar@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 5:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
bar_safe = hs_bindgen_f6ce0c67437e90e7
-- __unique:__ @test_macrosredeclarationidentical_Example_Unsafe_foo@
foreign import ccall unsafe "hs_bindgen_1f6a4a088740d7bc" hs_bindgen_1f6a4a088740d7bc_base ::
CInt
-> IO ()
-- __unique:__ @test_macrosredeclarationidentical_Example_Unsafe_foo@
hs_bindgen_1f6a4a088740d7bc :: CInt -> IO ()
-- __unique:__ @test_macrosredeclarationidentical_Example_Unsafe_foo@
hs_bindgen_1f6a4a088740d7bc = \x_0 -> hs_bindgen_1f6a4a088740d7bc_base (toFFIType x_0)
{-| __C declaration:__ @foo@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 3:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
foo_unsafe :: CInt -> IO ()
{-| __C declaration:__ @foo@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 3:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
foo_unsafe = hs_bindgen_1f6a4a088740d7bc
-- __unique:__ @test_macrosredeclarationidentical_Example_Unsafe_bar@
foreign import ccall unsafe "hs_bindgen_69080a62615bc0d8" hs_bindgen_69080a62615bc0d8_base ::
CInt
-> IO ()
-- __unique:__ @test_macrosredeclarationidentical_Example_Unsafe_bar@
hs_bindgen_69080a62615bc0d8 :: CInt -> IO ()
-- __unique:__ @test_macrosredeclarationidentical_Example_Unsafe_bar@
hs_bindgen_69080a62615bc0d8 = \x_0 -> hs_bindgen_69080a62615bc0d8_base (toFFIType x_0)
{-| __C declaration:__ @bar@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 5:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
bar_unsafe :: CInt -> IO ()
{-| __C declaration:__ @bar@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 5:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
bar_unsafe = hs_bindgen_69080a62615bc0d8
-- __unique:__ @test_macrosredeclarationidentical_Example_get_foo@
foreign import ccall unsafe "hs_bindgen_a17f85783f80f294" hs_bindgen_a17f85783f80f294_base ::
IO (FunPtr Void)
-- __unique:__ @test_macrosredeclarationidentical_Example_get_foo@
hs_bindgen_a17f85783f80f294 :: IO (FunPtr (CInt -> IO ()))
-- __unique:__ @test_macrosredeclarationidentical_Example_get_foo@
hs_bindgen_a17f85783f80f294 = fmap fromFFIType hs_bindgen_a17f85783f80f294_base
{-# NOINLINE foo_funptr #-}
{-| __C declaration:__ @foo@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 3:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
foo_funptr :: FunPtr (CInt -> IO ())
{-| __C declaration:__ @foo@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 3:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
foo_funptr = unsafePerformIO hs_bindgen_a17f85783f80f294
-- __unique:__ @test_macrosredeclarationidentical_Example_get_bar@
foreign import ccall unsafe "hs_bindgen_fbbde3e7da8ad667" hs_bindgen_fbbde3e7da8ad667_base ::
IO (FunPtr Void)
-- __unique:__ @test_macrosredeclarationidentical_Example_get_bar@
hs_bindgen_fbbde3e7da8ad667 :: IO (FunPtr (CInt -> IO ()))
-- __unique:__ @test_macrosredeclarationidentical_Example_get_bar@
hs_bindgen_fbbde3e7da8ad667 = fmap fromFFIType hs_bindgen_fbbde3e7da8ad667_base
{-# NOINLINE bar_funptr #-}
{-| __C declaration:__ @bar@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 5:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
bar_funptr :: FunPtr (CInt -> IO ())
{-| __C declaration:__ @bar@
__defined at:__ @macros\/redeclaration\/identical_semantics.h 5:6@
__exported by:__ @macros\/redeclaration\/identical_semantics.h@
-}
bar_funptr = unsafePerformIO hs_bindgen_fbbde3e7da8ad667