packages feed

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

-- addDependentFile test-artefacts/headers/golden/macros/macro_ext_binding_dep.h
-- #include <macros/macro_ext_binding_dep.h>
-- void hs_bindgen_f8c6775667265898 (
--   A arg1
-- )
-- {
--   (use_b)(arg1);
-- }
-- void hs_bindgen_495d2cdae3c804b4 (
--   A arg1
-- )
-- {
--   (use_b)(arg1);
-- }
-- /* test_macrosmacro_ext_binding_dep_1_Example_get_use_b */
-- __attribute__ ((const))
-- void (*hs_bindgen_e3008b3ee93f5ee9 (void)) (
--   A arg1
-- )
-- {
--   return &use_b;
-- }
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_Safe_use_b@
foreign import ccall safe "hs_bindgen_f8c6775667265898" hs_bindgen_f8c6775667265898_base ::
    CInt
 -> IO ()
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_Safe_use_b@
hs_bindgen_f8c6775667265898 :: M.A -> IO ()
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_Safe_use_b@
hs_bindgen_f8c6775667265898 = \x_0 -> hs_bindgen_f8c6775667265898_base (toFFIType x_0)
{-| __C declaration:__ @use_b@

    __defined at:__ @macros\/macro_ext_binding_dep.h 8:6@

    __exported by:__ @macros\/macro_ext_binding_dep.h@
-}
use_b_safe :: M.A -> IO ()
{-| __C declaration:__ @use_b@

    __defined at:__ @macros\/macro_ext_binding_dep.h 8:6@

    __exported by:__ @macros\/macro_ext_binding_dep.h@
-}
use_b_safe = hs_bindgen_f8c6775667265898
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_Unsafe_use_b@
foreign import ccall unsafe "hs_bindgen_495d2cdae3c804b4" hs_bindgen_495d2cdae3c804b4_base ::
    CInt
 -> IO ()
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_Unsafe_use_b@
hs_bindgen_495d2cdae3c804b4 :: M.A -> IO ()
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_Unsafe_use_b@
hs_bindgen_495d2cdae3c804b4 = \x_0 -> hs_bindgen_495d2cdae3c804b4_base (toFFIType x_0)
{-| __C declaration:__ @use_b@

    __defined at:__ @macros\/macro_ext_binding_dep.h 8:6@

    __exported by:__ @macros\/macro_ext_binding_dep.h@
-}
use_b_unsafe :: M.A -> IO ()
{-| __C declaration:__ @use_b@

    __defined at:__ @macros\/macro_ext_binding_dep.h 8:6@

    __exported by:__ @macros\/macro_ext_binding_dep.h@
-}
use_b_unsafe = hs_bindgen_495d2cdae3c804b4
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_get_use_b@
foreign import ccall unsafe "hs_bindgen_e3008b3ee93f5ee9" hs_bindgen_e3008b3ee93f5ee9_base ::
    IO (FunPtr Void)
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_get_use_b@
hs_bindgen_e3008b3ee93f5ee9 :: IO (FunPtr (M.A -> IO ()))
-- __unique:__ @test_macrosmacro_ext_binding_dep_1_Example_get_use_b@
hs_bindgen_e3008b3ee93f5ee9 = fmap fromFFIType hs_bindgen_e3008b3ee93f5ee9_base
{-# NOINLINE use_b_funptr #-}
{-| __C declaration:__ @use_b@

    __defined at:__ @macros\/macro_ext_binding_dep.h 8:6@

    __exported by:__ @macros\/macro_ext_binding_dep.h@
-}
use_b_funptr :: FunPtr (M.A -> IO ())
{-| __C declaration:__ @use_b@

    __defined at:__ @macros\/macro_ext_binding_dep.h 8:6@

    __exported by:__ @macros\/macro_ext_binding_dep.h@
-}
use_b_funptr = unsafePerformIO hs_bindgen_e3008b3ee93f5ee9