hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/object_like_as_function_like.2.raw/th.txt
-- addDependentFile test-artefacts/headers/golden/macros/object_like_as_function_like.h
-- #include <macros/object_like_as_function_like.h>
-- /* test_macrosobject_like_as_function_Example_get_a */
-- __attribute__ ((const))
-- signed int *hs_bindgen_06ace787c069879f (void)
-- {
-- return &a;
-- }
{-| __C declaration:__ @macro F@
__defined at:__ @macros\/object_like_as_function_like.h 10:9@
__exported by:__ @macros\/object_like_as_function_like.h@
-}
f :: Raw String
{-| __C declaration:__ @macro F@
__defined at:__ @macros\/object_like_as_function_like.h 10:9@
__exported by:__ @macros\/object_like_as_function_like.h@
-}
f = functionLike "F" ["x", "y"] ["x", "+", "y"]
{-| __C declaration:__ @macro G@
__defined at:__ @macros\/object_like_as_function_like.h 11:9@
__exported by:__ @macros\/object_like_as_function_like.h@
-}
g :: Raw String
{-| __C declaration:__ @macro G@
__defined at:__ @macros\/object_like_as_function_like.h 11:9@
__exported by:__ @macros\/object_like_as_function_like.h@
-}
g = objectLike "G" ["(", "x", ",", "y", ")", "x", "+", "y"]
-- __unique:__ @test_macrosobject_like_as_function_Example_get_a@
foreign import ccall unsafe "hs_bindgen_06ace787c069879f" hs_bindgen_06ace787c069879f_base ::
IO (Ptr Void)
-- __unique:__ @test_macrosobject_like_as_function_Example_get_a@
hs_bindgen_06ace787c069879f :: IO (Ptr CInt)
-- __unique:__ @test_macrosobject_like_as_function_Example_get_a@
hs_bindgen_06ace787c069879f = fmap fromFFIType hs_bindgen_06ace787c069879f_base
{-# NOINLINE a #-}
{-| __C declaration:__ @a@
__defined at:__ @macros\/object_like_as_function_like.h 13:5@
__exported by:__ @macros\/object_like_as_function_like.h@
-}
a :: Ptr CInt
{-| __C declaration:__ @a@
__defined at:__ @macros\/object_like_as_function_like.h 13:5@
__exported by:__ @macros\/object_like_as_function_like.h@
-}
a = unsafePerformIO hs_bindgen_06ace787c069879f