hs-bindgen-1.0.0.0: test-artefacts/fixtures/functions/fun_attributes/th.txt
-- addDependentFile test-artefacts/headers/golden/functions/fun_attributes.h
-- #include <functions/fun_attributes.h>
-- void hs_bindgen_0560fe42a40f777f (void)
-- {
-- (__f1)();
-- }
-- void hs_bindgen_1a4676387075dc40 (void)
-- {
-- (f1)();
-- }
-- void *hs_bindgen_63adcb061045c5ac (
-- size_t arg1,
-- size_t arg2
-- )
-- {
-- return (my_memalign)(arg1, arg2);
-- }
-- void *hs_bindgen_733b29547ce864f6 (
-- size_t arg1,
-- size_t arg2
-- )
-- {
-- return (my_calloc)(arg1, arg2);
-- }
-- void *hs_bindgen_4c69efa2a8a2b7c0 (
-- void *arg1,
-- size_t arg2
-- )
-- {
-- return (my_realloc)(arg1, arg2);
-- }
-- void *hs_bindgen_1eae846583dd415c (
-- size_t arg1
-- )
-- {
-- return (my_alloc1)(arg1);
-- }
-- void *hs_bindgen_790482b4016de326 (
-- size_t arg1
-- )
-- {
-- return (my_alloc2)(arg1);
-- }
-- signed int hs_bindgen_3f72dedf649beccd (
-- signed int arg1
-- )
-- {
-- return (square)(arg1);
-- }
-- signed int hs_bindgen_a8f71f2272dae572 (void)
-- {
-- return (old_fn_deprecated)();
-- }
-- char *hs_bindgen_11a623401451cca5 (
-- char *arg1,
-- char const *arg2
-- )
-- {
-- return (my_dgettext)(arg1, arg2);
-- }
-- FILE *hs_bindgen_30143e337a327ef0 (
-- signed int arg1,
-- char const *arg2
-- )
-- {
-- return (fdopen)(arg1, arg2);
-- }
-- void hs_bindgen_7b2c420d0febf062 (void)
-- {
-- (f2)();
-- }
-- void *hs_bindgen_af1f131d9e98a2ff (
-- void *arg1,
-- void const *arg2,
-- size_t arg3
-- )
-- {
-- return (my_memcpy)(arg1, arg2, arg3);
-- }
-- void hs_bindgen_0afa6ff8226517c8 (void)
-- {
-- (fatal)();
-- }
-- signed int hs_bindgen_948fc14ee9d5d56f (
-- char *arg1
-- )
-- {
-- return (hash)(arg1);
-- }
-- void *hs_bindgen_60517fb6ae2517ff (
-- size_t arg1
-- )
-- {
-- return (mymalloc)(arg1);
-- }
-- void hs_bindgen_f1451b46f1bd3813 (void)
-- {
-- (foobar)();
-- }
-- signed int hs_bindgen_07f5843dd5c65611 (void)
-- {
-- return (core2_func)();
-- }
-- signed int hs_bindgen_2c7c9e9a45042696 (void)
-- {
-- return (sse3_func)();
-- }
-- void hs_bindgen_4ff2d7abd6099082 (void)
-- {
-- (f3)();
-- }
-- signed int hs_bindgen_c3ae037518ec9b4e (void)
-- {
-- return (fn)();
-- }
-- signed int hs_bindgen_da9708096863a242 (void)
-- {
-- return (y)();
-- }
-- signed int hs_bindgen_1b5a954ee8d33472 (void)
-- {
-- return (z1)();
-- }
-- signed int hs_bindgen_871d232f0a2386a3 (void)
-- {
-- return (z2)();
-- }
-- void hs_bindgen_52759f125bf2b140 (void)
-- {
-- (__f1)();
-- }
-- void hs_bindgen_80bb9d1445e894ca (void)
-- {
-- (f1)();
-- }
-- void *hs_bindgen_ebf8d1f009064640 (
-- size_t arg1,
-- size_t arg2
-- )
-- {
-- return (my_memalign)(arg1, arg2);
-- }
-- void *hs_bindgen_a062d8e757dc6824 (
-- size_t arg1,
-- size_t arg2
-- )
-- {
-- return (my_calloc)(arg1, arg2);
-- }
-- void *hs_bindgen_899561850b80c305 (
-- void *arg1,
-- size_t arg2
-- )
-- {
-- return (my_realloc)(arg1, arg2);
-- }
-- void *hs_bindgen_d5eb45f9de991bca (
-- size_t arg1
-- )
-- {
-- return (my_alloc1)(arg1);
-- }
-- void *hs_bindgen_a7aa3949fa7cae3f (
-- size_t arg1
-- )
-- {
-- return (my_alloc2)(arg1);
-- }
-- signed int hs_bindgen_dbe49279b6585cea (
-- signed int arg1
-- )
-- {
-- return (square)(arg1);
-- }
-- signed int hs_bindgen_f51c36dd7e8f4133 (void)
-- {
-- return (old_fn_deprecated)();
-- }
-- char *hs_bindgen_bf6f222178bd7c31 (
-- char *arg1,
-- char const *arg2
-- )
-- {
-- return (my_dgettext)(arg1, arg2);
-- }
-- FILE *hs_bindgen_830629dc11c2fdfc (
-- signed int arg1,
-- char const *arg2
-- )
-- {
-- return (fdopen)(arg1, arg2);
-- }
-- void hs_bindgen_a5f34f5beb1c74f1 (void)
-- {
-- (f2)();
-- }
-- void *hs_bindgen_0f3586df383dffea (
-- void *arg1,
-- void const *arg2,
-- size_t arg3
-- )
-- {
-- return (my_memcpy)(arg1, arg2, arg3);
-- }
-- void hs_bindgen_667d3280d945cd0c (void)
-- {
-- (fatal)();
-- }
-- signed int hs_bindgen_394fd662d5fb7aa6 (
-- char *arg1
-- )
-- {
-- return (hash)(arg1);
-- }
-- void *hs_bindgen_5594a84fb65782e1 (
-- size_t arg1
-- )
-- {
-- return (mymalloc)(arg1);
-- }
-- void hs_bindgen_1f19397195b32853 (void)
-- {
-- (foobar)();
-- }
-- signed int hs_bindgen_f80f9b58791a9cf2 (void)
-- {
-- return (core2_func)();
-- }
-- signed int hs_bindgen_6a951361c18a91a0 (void)
-- {
-- return (sse3_func)();
-- }
-- void hs_bindgen_1d7f2cdf95b3bfa3 (void)
-- {
-- (f3)();
-- }
-- signed int hs_bindgen_c1fff017165ba0e1 (void)
-- {
-- return (fn)();
-- }
-- signed int hs_bindgen_67dc9f91fbda20c7 (void)
-- {
-- return (y)();
-- }
-- signed int hs_bindgen_92dc5692c137b4da (void)
-- {
-- return (z1)();
-- }
-- signed int hs_bindgen_6e662527d3f0decc (void)
-- {
-- return (z2)();
-- }
-- /* test_functionsfun_attributes_Example_get___f1 */
-- __attribute__ ((const))
-- void (*hs_bindgen_99da7108788a2cf4 (void)) (void)
-- {
-- return &__f1;
-- }
-- /* test_functionsfun_attributes_Example_get_f1 */
-- __attribute__ ((const))
-- void (*hs_bindgen_a0d2ec6ffc23fc5a (void)) (void)
-- {
-- return &f1;
-- }
-- /* test_functionsfun_attributes_Example_get_my_memalign */
-- __attribute__ ((const))
-- void *(*hs_bindgen_16a2a5a807cc26ec (void)) (
-- size_t arg1,
-- size_t arg2
-- )
-- {
-- return &my_memalign;
-- }
-- /* test_functionsfun_attributes_Example_get_my_calloc */
-- __attribute__ ((const))
-- void *(*hs_bindgen_976df97f9c9c1223 (void)) (
-- size_t arg1,
-- size_t arg2
-- )
-- {
-- return &my_calloc;
-- }
-- /* test_functionsfun_attributes_Example_get_my_realloc */
-- __attribute__ ((const))
-- void *(*hs_bindgen_4021d3c6eae30c8c (void)) (
-- void *arg1,
-- size_t arg2
-- )
-- {
-- return &my_realloc;
-- }
-- /* test_functionsfun_attributes_Example_get_my_alloc1 */
-- __attribute__ ((const))
-- void *(*hs_bindgen_2ca35d0827c76ff7 (void)) (
-- size_t arg1
-- )
-- {
-- return &my_alloc1;
-- }
-- /* test_functionsfun_attributes_Example_get_my_alloc2 */
-- __attribute__ ((const))
-- void *(*hs_bindgen_a43746fed9206f42 (void)) (
-- size_t arg1
-- )
-- {
-- return &my_alloc2;
-- }
-- /* test_functionsfun_attributes_Example_get_square */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_d41557222fd2ab94 (void)) (
-- signed int arg1
-- )
-- {
-- return □
-- }
-- /* test_functionsfun_attributes_Example_get_old_fn_deprecated */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_beee43878922a900 (void)) (void)
-- {
-- return &old_fn_deprecated;
-- }
-- /* test_functionsfun_attributes_Example_get_my_dgettext */
-- __attribute__ ((const))
-- char *(*hs_bindgen_f95f43d50ed8f2b4 (void)) (
-- char *arg1,
-- char const *arg2
-- )
-- {
-- return &my_dgettext;
-- }
-- /* test_functionsfun_attributes_Example_get_fdopen */
-- __attribute__ ((const))
-- FILE *(*hs_bindgen_986260288574592d (void)) (
-- signed int arg1,
-- char const *arg2
-- )
-- {
-- return &fdopen;
-- }
-- /* test_functionsfun_attributes_Example_get_f2 */
-- __attribute__ ((const))
-- void (*hs_bindgen_fa90d405c15977a2 (void)) (void)
-- {
-- return &f2;
-- }
-- /* test_functionsfun_attributes_Example_get_my_memcpy */
-- __attribute__ ((const))
-- void *(*hs_bindgen_481e3a75205c85f2 (void)) (
-- void *arg1,
-- void const *arg2,
-- size_t arg3
-- )
-- {
-- return &my_memcpy;
-- }
-- /* test_functionsfun_attributes_Example_get_fatal */
-- __attribute__ ((const))
-- void (*hs_bindgen_99cc62837ebec657 (void)) (void)
-- {
-- return &fatal;
-- }
-- /* test_functionsfun_attributes_Example_get_hash */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_196cbfce2a9df94f (void)) (
-- char *arg1
-- )
-- {
-- return &hash;
-- }
-- /* test_functionsfun_attributes_Example_get_mymalloc */
-- __attribute__ ((const))
-- void *(*hs_bindgen_ae6b503283507bd2 (void)) (
-- size_t arg1
-- )
-- {
-- return &mymalloc;
-- }
-- /* test_functionsfun_attributes_Example_get_foobar */
-- __attribute__ ((const))
-- void (*hs_bindgen_ad3e5c88477c9e92 (void)) (void)
-- {
-- return &foobar;
-- }
-- /* test_functionsfun_attributes_Example_get_core2_func */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_508f28109ff2076e (void)) (void)
-- {
-- return &core2_func;
-- }
-- /* test_functionsfun_attributes_Example_get_sse3_func */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_6e4f5b53b36a3ecb (void)) (void)
-- {
-- return &sse3_func;
-- }
-- /* test_functionsfun_attributes_Example_get_f3 */
-- __attribute__ ((const))
-- void (*hs_bindgen_e39d5186f5da6c3f (void)) (void)
-- {
-- return &f3;
-- }
-- /* test_functionsfun_attributes_Example_get_fn */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_acb0e567f47dc0eb (void)) (void)
-- {
-- return &fn;
-- }
-- /* test_functionsfun_attributes_Example_get_y */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_a1f58949b267b87f (void)) (void)
-- {
-- return &y;
-- }
-- /* test_functionsfun_attributes_Example_get_z1 */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_27c558455e5d5b1a (void)) (void)
-- {
-- return &z1;
-- }
-- /* test_functionsfun_attributes_Example_get_z2 */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_ef816c1d50bc7bb9 (void)) (void)
-- {
-- return &z2;
-- }
-- /* test_functionsfun_attributes_Example_get_i */
-- __attribute__ ((const))
-- signed int *hs_bindgen_cd32cb4982dd2d1a (void)
-- {
-- return &i;
-- }
{-| __C declaration:__ @struct FILE@
__defined at:__ @functions\/fun_attributes.h 7:9@
__exported by:__ @functions\/fun_attributes.h@
-}
data FILE = FILE {} deriving stock (Eq, Generic, Show)
instance StaticSize FILE
where staticSizeOf = \_ -> 0 :: Int
staticAlignment = \_ -> 1 :: Int
instance ReadRaw FILE
where readRaw = \ptr_0 -> pure FILE
instance WriteRaw FILE
where writeRaw = \ptr_0 -> \s_1 -> case s_1 of
FILE -> pure ()
deriving via (EquivStorable FILE) instance Storable FILE
deriving via (IsStructViaReadRaw FILE) instance IsStruct FILE
{-| __C declaration:__ @size_t@
__defined at:__ @functions\/fun_attributes.h 8:13@
__exported by:__ @functions\/fun_attributes.h@
-}
newtype Size_t
= Size_t {unwrapSize_t :: CInt}
deriving stock (Eq, Generic, Ord, Read, Show)
deriving newtype (Bitfield,
Bits,
Bounded,
Enum,
FiniteBits,
HasFFIType,
Integral,
Ix,
Num,
Prim,
ReadRaw,
Real,
StaticSize,
Storable,
WriteRaw)
instance (~) ty CInt => HasField "unwrapSize_t" Size_t ty
where hasField = \x_0 -> (\y_1 -> Size_t{unwrapSize_t = y_1},
getField @"unwrapSize_t" x_0)
instance (~) ty CInt =>
HasField "unwrapSize_t" (Ptr Size_t) (Ptr ty)
where getField = fromPtr (Proxy @"unwrapSize_t")
instance HasCField Size_t "unwrapSize_t"
where type CFieldType Size_t "unwrapSize_t" = CInt
offset# = \_ -> \_ -> 0
-- __unique:__ @test_functionsfun_attributes_Example_Safe___f1@
foreign import ccall safe "hs_bindgen_0560fe42a40f777f" hs_bindgen_0560fe42a40f777f_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe___f1@
hs_bindgen_0560fe42a40f777f :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe___f1@
hs_bindgen_0560fe42a40f777f = hs_bindgen_0560fe42a40f777f_base
{-| __C declaration:__ @__f1@
__defined at:__ @functions\/fun_attributes.h 16:13@
__exported by:__ @functions\/fun_attributes.h@
-}
__f1_safe :: IO ()
{-| __C declaration:__ @__f1@
__defined at:__ @functions\/fun_attributes.h 16:13@
__exported by:__ @functions\/fun_attributes.h@
-}
__f1_safe = hs_bindgen_0560fe42a40f777f
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f1@
foreign import ccall safe "hs_bindgen_1a4676387075dc40" hs_bindgen_1a4676387075dc40_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f1@
hs_bindgen_1a4676387075dc40 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f1@
hs_bindgen_1a4676387075dc40 = hs_bindgen_1a4676387075dc40_base
{-| __C declaration:__ @f1@
__defined at:__ @functions\/fun_attributes.h 19:6@
__exported by:__ @functions\/fun_attributes.h@
-}
f1_safe :: IO ()
{-| __C declaration:__ @f1@
__defined at:__ @functions\/fun_attributes.h 19:6@
__exported by:__ @functions\/fun_attributes.h@
-}
f1_safe = hs_bindgen_1a4676387075dc40
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_memalign@
foreign import ccall safe "hs_bindgen_63adcb061045c5ac" hs_bindgen_63adcb061045c5ac_base ::
CInt
-> CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_memalign@
hs_bindgen_63adcb061045c5ac :: Size_t -> Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_memalign@
hs_bindgen_63adcb061045c5ac = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_63adcb061045c5ac_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @my_memalign@
__defined at:__ @functions\/fun_attributes.h 23:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memalign_safe :: Size_t -> Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_memalign@
__defined at:__ @functions\/fun_attributes.h 23:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memalign_safe = hs_bindgen_63adcb061045c5ac
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_calloc@
foreign import ccall safe "hs_bindgen_733b29547ce864f6" hs_bindgen_733b29547ce864f6_base ::
CInt
-> CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_calloc@
hs_bindgen_733b29547ce864f6 :: Size_t -> Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_calloc@
hs_bindgen_733b29547ce864f6 = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_733b29547ce864f6_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @my_calloc@
__defined at:__ @functions\/fun_attributes.h 28:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_calloc_safe :: Size_t -> Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_calloc@
__defined at:__ @functions\/fun_attributes.h 28:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_calloc_safe = hs_bindgen_733b29547ce864f6
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_realloc@
foreign import ccall safe "hs_bindgen_4c69efa2a8a2b7c0" hs_bindgen_4c69efa2a8a2b7c0_base ::
Ptr Void
-> CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_realloc@
hs_bindgen_4c69efa2a8a2b7c0 :: Ptr Void -> Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_realloc@
hs_bindgen_4c69efa2a8a2b7c0 = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_4c69efa2a8a2b7c0_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @my_realloc@
__defined at:__ @functions\/fun_attributes.h 29:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_realloc_safe :: Ptr Void -> Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_realloc@
__defined at:__ @functions\/fun_attributes.h 29:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_realloc_safe = hs_bindgen_4c69efa2a8a2b7c0
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_alloc1@
foreign import ccall safe "hs_bindgen_1eae846583dd415c" hs_bindgen_1eae846583dd415c_base ::
CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_alloc1@
hs_bindgen_1eae846583dd415c :: Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_alloc1@
hs_bindgen_1eae846583dd415c = \x_0 -> fmap fromFFIType (hs_bindgen_1eae846583dd415c_base (toFFIType x_0))
{-| __C declaration:__ @my_alloc1@
__defined at:__ @functions\/fun_attributes.h 34:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc1_safe :: Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_alloc1@
__defined at:__ @functions\/fun_attributes.h 34:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc1_safe = hs_bindgen_1eae846583dd415c
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_alloc2@
foreign import ccall safe "hs_bindgen_790482b4016de326" hs_bindgen_790482b4016de326_base ::
CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_alloc2@
hs_bindgen_790482b4016de326 :: Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_alloc2@
hs_bindgen_790482b4016de326 = \x_0 -> fmap fromFFIType (hs_bindgen_790482b4016de326_base (toFFIType x_0))
{-| __C declaration:__ @my_alloc2@
__defined at:__ @functions\/fun_attributes.h 35:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc2_safe :: Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_alloc2@
__defined at:__ @functions\/fun_attributes.h 35:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc2_safe = hs_bindgen_790482b4016de326
-- __unique:__ @test_functionsfun_attributes_Example_Safe_square@
foreign import ccall safe "hs_bindgen_3f72dedf649beccd" hs_bindgen_3f72dedf649beccd_base ::
CInt
-> CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_square@
hs_bindgen_3f72dedf649beccd :: CInt -> CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_square@
hs_bindgen_3f72dedf649beccd = \x_0 -> fromFFIType (hs_bindgen_3f72dedf649beccd_base (toFFIType x_0))
{-|
Marked @__attribute((const))__@
__C declaration:__ @square@
__defined at:__ @functions\/fun_attributes.h 39:5@
__exported by:__ @functions\/fun_attributes.h@
-}
square_safe :: CInt -> CInt
{-|
Marked @__attribute((const))__@
__C declaration:__ @square@
__defined at:__ @functions\/fun_attributes.h 39:5@
__exported by:__ @functions\/fun_attributes.h@
-}
square_safe = hs_bindgen_3f72dedf649beccd
-- __unique:__ @test_functionsfun_attributes_Example_Safe_old_fn_deprecated@
foreign import ccall safe "hs_bindgen_a8f71f2272dae572" hs_bindgen_a8f71f2272dae572_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_old_fn_deprecated@
hs_bindgen_a8f71f2272dae572 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_old_fn_deprecated@
hs_bindgen_a8f71f2272dae572 = fmap fromFFIType hs_bindgen_a8f71f2272dae572_base
{-| __C declaration:__ @old_fn_deprecated@
__defined at:__ @functions\/fun_attributes.h 48:5@
__exported by:__ @functions\/fun_attributes.h@
-}
old_fn_deprecated_safe :: IO CInt
{-| __C declaration:__ @old_fn_deprecated@
__defined at:__ @functions\/fun_attributes.h 48:5@
__exported by:__ @functions\/fun_attributes.h@
-}
old_fn_deprecated_safe = hs_bindgen_a8f71f2272dae572
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_dgettext@
foreign import ccall safe "hs_bindgen_11a623401451cca5" hs_bindgen_11a623401451cca5_base ::
Ptr Void
-> Ptr Void
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_dgettext@
hs_bindgen_11a623401451cca5 :: Ptr CChar ->
PtrConst CChar -> IO (Ptr CChar)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_dgettext@
hs_bindgen_11a623401451cca5 = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_11a623401451cca5_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @my_dgettext@
__defined at:__ @functions\/fun_attributes.h 64:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_dgettext_safe :: Ptr CChar -> PtrConst CChar -> IO (Ptr CChar)
{-| __C declaration:__ @my_dgettext@
__defined at:__ @functions\/fun_attributes.h 64:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_dgettext_safe = hs_bindgen_11a623401451cca5
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fdopen@
foreign import ccall safe "hs_bindgen_30143e337a327ef0" hs_bindgen_30143e337a327ef0_base ::
CInt
-> Ptr Void
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fdopen@
hs_bindgen_30143e337a327ef0 :: CInt ->
PtrConst CChar -> IO (Ptr FILE)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fdopen@
hs_bindgen_30143e337a327ef0 = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_30143e337a327ef0_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @fdopen@
__defined at:__ @functions\/fun_attributes.h 75:9@
__exported by:__ @functions\/fun_attributes.h@
-}
fdopen_safe :: CInt -> PtrConst CChar -> IO (Ptr FILE)
{-| __C declaration:__ @fdopen@
__defined at:__ @functions\/fun_attributes.h 75:9@
__exported by:__ @functions\/fun_attributes.h@
-}
fdopen_safe = hs_bindgen_30143e337a327ef0
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f2@
foreign import ccall safe "hs_bindgen_7b2c420d0febf062" hs_bindgen_7b2c420d0febf062_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f2@
hs_bindgen_7b2c420d0febf062 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f2@
hs_bindgen_7b2c420d0febf062 = hs_bindgen_7b2c420d0febf062_base
{-| __C declaration:__ @f2@
__defined at:__ @functions\/fun_attributes.h 79:65@
__exported by:__ @functions\/fun_attributes.h@
-}
f2_safe :: IO ()
{-| __C declaration:__ @f2@
__defined at:__ @functions\/fun_attributes.h 79:65@
__exported by:__ @functions\/fun_attributes.h@
-}
f2_safe = hs_bindgen_7b2c420d0febf062
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_memcpy@
foreign import ccall safe "hs_bindgen_af1f131d9e98a2ff" hs_bindgen_af1f131d9e98a2ff_base ::
Ptr Void
-> Ptr Void
-> CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_memcpy@
hs_bindgen_af1f131d9e98a2ff :: Ptr Void ->
PtrConst Void -> Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_my_memcpy@
hs_bindgen_af1f131d9e98a2ff = \x_0 -> \x_1 -> \x_2 -> fmap fromFFIType (hs_bindgen_af1f131d9e98a2ff_base (toFFIType x_0) (toFFIType x_1) (toFFIType x_2))
{-| __C declaration:__ @my_memcpy@
__defined at:__ @functions\/fun_attributes.h 85:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memcpy_safe :: Ptr Void ->
PtrConst Void -> Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_memcpy@
__defined at:__ @functions\/fun_attributes.h 85:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memcpy_safe = hs_bindgen_af1f131d9e98a2ff
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fatal@
foreign import ccall safe "hs_bindgen_0afa6ff8226517c8" hs_bindgen_0afa6ff8226517c8_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fatal@
hs_bindgen_0afa6ff8226517c8 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fatal@
hs_bindgen_0afa6ff8226517c8 = hs_bindgen_0afa6ff8226517c8_base
{-| __C declaration:__ @fatal@
__defined at:__ @functions\/fun_attributes.h 102:6@
__exported by:__ @functions\/fun_attributes.h@
-}
fatal_safe :: IO ()
{-| __C declaration:__ @fatal@
__defined at:__ @functions\/fun_attributes.h 102:6@
__exported by:__ @functions\/fun_attributes.h@
-}
fatal_safe = hs_bindgen_0afa6ff8226517c8
-- __unique:__ @test_functionsfun_attributes_Example_Safe_hash@
foreign import ccall safe "hs_bindgen_948fc14ee9d5d56f" hs_bindgen_948fc14ee9d5d56f_base ::
Ptr Void
-> IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_hash@
hs_bindgen_948fc14ee9d5d56f :: Ptr CChar -> IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_hash@
hs_bindgen_948fc14ee9d5d56f = \x_0 -> fmap fromFFIType (hs_bindgen_948fc14ee9d5d56f_base (toFFIType x_0))
{-|
Marked @__attribute((pure))__@
__C declaration:__ @hash@
__defined at:__ @functions\/fun_attributes.h 110:5@
__exported by:__ @functions\/fun_attributes.h@
-}
hash_safe :: Ptr CChar -> IO CInt
{-|
Marked @__attribute((pure))__@
__C declaration:__ @hash@
__defined at:__ @functions\/fun_attributes.h 110:5@
__exported by:__ @functions\/fun_attributes.h@
-}
hash_safe = hs_bindgen_948fc14ee9d5d56f
-- __unique:__ @test_functionsfun_attributes_Example_Safe_mymalloc@
foreign import ccall safe "hs_bindgen_60517fb6ae2517ff" hs_bindgen_60517fb6ae2517ff_base ::
CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_mymalloc@
hs_bindgen_60517fb6ae2517ff :: Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Safe_mymalloc@
hs_bindgen_60517fb6ae2517ff = \x_0 -> fmap fromFFIType (hs_bindgen_60517fb6ae2517ff_base (toFFIType x_0))
{-| __C declaration:__ @mymalloc@
__defined at:__ @functions\/fun_attributes.h 115:1@
__exported by:__ @functions\/fun_attributes.h@
-}
mymalloc_safe :: Size_t -> IO (Ptr Void)
{-| __C declaration:__ @mymalloc@
__defined at:__ @functions\/fun_attributes.h 115:1@
__exported by:__ @functions\/fun_attributes.h@
-}
mymalloc_safe = hs_bindgen_60517fb6ae2517ff
-- __unique:__ @test_functionsfun_attributes_Example_Safe_foobar@
foreign import ccall safe "hs_bindgen_f1451b46f1bd3813" hs_bindgen_f1451b46f1bd3813_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_foobar@
hs_bindgen_f1451b46f1bd3813 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_foobar@
hs_bindgen_f1451b46f1bd3813 = hs_bindgen_f1451b46f1bd3813_base
{-| __C declaration:__ @foobar@
__defined at:__ @functions\/fun_attributes.h 119:13@
__exported by:__ @functions\/fun_attributes.h@
-}
foobar_safe :: IO ()
{-| __C declaration:__ @foobar@
__defined at:__ @functions\/fun_attributes.h 119:13@
__exported by:__ @functions\/fun_attributes.h@
-}
foobar_safe = hs_bindgen_f1451b46f1bd3813
-- __unique:__ @test_functionsfun_attributes_Example_Safe_core2_func@
foreign import ccall safe "hs_bindgen_07f5843dd5c65611" hs_bindgen_07f5843dd5c65611_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_core2_func@
hs_bindgen_07f5843dd5c65611 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_core2_func@
hs_bindgen_07f5843dd5c65611 = fmap fromFFIType hs_bindgen_07f5843dd5c65611_base
{-| __C declaration:__ @core2_func@
__defined at:__ @functions\/fun_attributes.h 126:5@
__exported by:__ @functions\/fun_attributes.h@
-}
core2_func_safe :: IO CInt
{-| __C declaration:__ @core2_func@
__defined at:__ @functions\/fun_attributes.h 126:5@
__exported by:__ @functions\/fun_attributes.h@
-}
core2_func_safe = hs_bindgen_07f5843dd5c65611
-- __unique:__ @test_functionsfun_attributes_Example_Safe_sse3_func@
foreign import ccall safe "hs_bindgen_2c7c9e9a45042696" hs_bindgen_2c7c9e9a45042696_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_sse3_func@
hs_bindgen_2c7c9e9a45042696 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_sse3_func@
hs_bindgen_2c7c9e9a45042696 = fmap fromFFIType hs_bindgen_2c7c9e9a45042696_base
{-| __C declaration:__ @sse3_func@
__defined at:__ @functions\/fun_attributes.h 127:5@
__exported by:__ @functions\/fun_attributes.h@
-}
sse3_func_safe :: IO CInt
{-| __C declaration:__ @sse3_func@
__defined at:__ @functions\/fun_attributes.h 127:5@
__exported by:__ @functions\/fun_attributes.h@
-}
sse3_func_safe = hs_bindgen_2c7c9e9a45042696
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f3@
foreign import ccall safe "hs_bindgen_4ff2d7abd6099082" hs_bindgen_4ff2d7abd6099082_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f3@
hs_bindgen_4ff2d7abd6099082 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Safe_f3@
hs_bindgen_4ff2d7abd6099082 = hs_bindgen_4ff2d7abd6099082_base
{-| __C declaration:__ @f3@
__defined at:__ @functions\/fun_attributes.h 131:49@
__exported by:__ @functions\/fun_attributes.h@
-}
f3_safe :: IO ()
{-| __C declaration:__ @f3@
__defined at:__ @functions\/fun_attributes.h 131:49@
__exported by:__ @functions\/fun_attributes.h@
-}
f3_safe = hs_bindgen_4ff2d7abd6099082
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fn@
foreign import ccall safe "hs_bindgen_c3ae037518ec9b4e" hs_bindgen_c3ae037518ec9b4e_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fn@
hs_bindgen_c3ae037518ec9b4e :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_fn@
hs_bindgen_c3ae037518ec9b4e = fmap fromFFIType hs_bindgen_c3ae037518ec9b4e_base
{-| __C declaration:__ @fn@
__defined at:__ @functions\/fun_attributes.h 136:5@
__exported by:__ @functions\/fun_attributes.h@
-}
fn_safe :: IO CInt
{-| __C declaration:__ @fn@
__defined at:__ @functions\/fun_attributes.h 136:5@
__exported by:__ @functions\/fun_attributes.h@
-}
fn_safe = hs_bindgen_c3ae037518ec9b4e
-- __unique:__ @test_functionsfun_attributes_Example_Safe_y@
foreign import ccall safe "hs_bindgen_da9708096863a242" hs_bindgen_da9708096863a242_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_y@
hs_bindgen_da9708096863a242 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_y@
hs_bindgen_da9708096863a242 = fmap fromFFIType hs_bindgen_da9708096863a242_base
{-| __C declaration:__ @y@
__defined at:__ @functions\/fun_attributes.h 142:12@
__exported by:__ @functions\/fun_attributes.h@
-}
y_safe :: IO CInt
{-| __C declaration:__ @y@
__defined at:__ @functions\/fun_attributes.h 142:12@
__exported by:__ @functions\/fun_attributes.h@
-}
y_safe = hs_bindgen_da9708096863a242
-- __unique:__ @test_functionsfun_attributes_Example_Safe_z1@
foreign import ccall safe "hs_bindgen_1b5a954ee8d33472" hs_bindgen_1b5a954ee8d33472_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_z1@
hs_bindgen_1b5a954ee8d33472 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_z1@
hs_bindgen_1b5a954ee8d33472 = fmap fromFFIType hs_bindgen_1b5a954ee8d33472_base
{-| __C declaration:__ @z1@
__defined at:__ @functions\/fun_attributes.h 145:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z1_safe :: IO CInt
{-| __C declaration:__ @z1@
__defined at:__ @functions\/fun_attributes.h 145:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z1_safe = hs_bindgen_1b5a954ee8d33472
-- __unique:__ @test_functionsfun_attributes_Example_Safe_z2@
foreign import ccall safe "hs_bindgen_871d232f0a2386a3" hs_bindgen_871d232f0a2386a3_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_z2@
hs_bindgen_871d232f0a2386a3 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Safe_z2@
hs_bindgen_871d232f0a2386a3 = fmap fromFFIType hs_bindgen_871d232f0a2386a3_base
{-| __C declaration:__ @z2@
__defined at:__ @functions\/fun_attributes.h 148:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z2_safe :: IO CInt
{-| __C declaration:__ @z2@
__defined at:__ @functions\/fun_attributes.h 148:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z2_safe = hs_bindgen_871d232f0a2386a3
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe___f1@
foreign import ccall unsafe "hs_bindgen_52759f125bf2b140" hs_bindgen_52759f125bf2b140_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe___f1@
hs_bindgen_52759f125bf2b140 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe___f1@
hs_bindgen_52759f125bf2b140 = hs_bindgen_52759f125bf2b140_base
{-| __C declaration:__ @__f1@
__defined at:__ @functions\/fun_attributes.h 16:13@
__exported by:__ @functions\/fun_attributes.h@
-}
__f1_unsafe :: IO ()
{-| __C declaration:__ @__f1@
__defined at:__ @functions\/fun_attributes.h 16:13@
__exported by:__ @functions\/fun_attributes.h@
-}
__f1_unsafe = hs_bindgen_52759f125bf2b140
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f1@
foreign import ccall unsafe "hs_bindgen_80bb9d1445e894ca" hs_bindgen_80bb9d1445e894ca_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f1@
hs_bindgen_80bb9d1445e894ca :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f1@
hs_bindgen_80bb9d1445e894ca = hs_bindgen_80bb9d1445e894ca_base
{-| __C declaration:__ @f1@
__defined at:__ @functions\/fun_attributes.h 19:6@
__exported by:__ @functions\/fun_attributes.h@
-}
f1_unsafe :: IO ()
{-| __C declaration:__ @f1@
__defined at:__ @functions\/fun_attributes.h 19:6@
__exported by:__ @functions\/fun_attributes.h@
-}
f1_unsafe = hs_bindgen_80bb9d1445e894ca
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_memalign@
foreign import ccall unsafe "hs_bindgen_ebf8d1f009064640" hs_bindgen_ebf8d1f009064640_base ::
CInt
-> CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_memalign@
hs_bindgen_ebf8d1f009064640 :: Size_t -> Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_memalign@
hs_bindgen_ebf8d1f009064640 = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_ebf8d1f009064640_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @my_memalign@
__defined at:__ @functions\/fun_attributes.h 23:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memalign_unsafe :: Size_t -> Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_memalign@
__defined at:__ @functions\/fun_attributes.h 23:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memalign_unsafe = hs_bindgen_ebf8d1f009064640
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_calloc@
foreign import ccall unsafe "hs_bindgen_a062d8e757dc6824" hs_bindgen_a062d8e757dc6824_base ::
CInt
-> CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_calloc@
hs_bindgen_a062d8e757dc6824 :: Size_t -> Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_calloc@
hs_bindgen_a062d8e757dc6824 = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_a062d8e757dc6824_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @my_calloc@
__defined at:__ @functions\/fun_attributes.h 28:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_calloc_unsafe :: Size_t -> Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_calloc@
__defined at:__ @functions\/fun_attributes.h 28:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_calloc_unsafe = hs_bindgen_a062d8e757dc6824
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_realloc@
foreign import ccall unsafe "hs_bindgen_899561850b80c305" hs_bindgen_899561850b80c305_base ::
Ptr Void
-> CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_realloc@
hs_bindgen_899561850b80c305 :: Ptr Void -> Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_realloc@
hs_bindgen_899561850b80c305 = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_899561850b80c305_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @my_realloc@
__defined at:__ @functions\/fun_attributes.h 29:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_realloc_unsafe :: Ptr Void -> Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_realloc@
__defined at:__ @functions\/fun_attributes.h 29:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_realloc_unsafe = hs_bindgen_899561850b80c305
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_alloc1@
foreign import ccall unsafe "hs_bindgen_d5eb45f9de991bca" hs_bindgen_d5eb45f9de991bca_base ::
CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_alloc1@
hs_bindgen_d5eb45f9de991bca :: Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_alloc1@
hs_bindgen_d5eb45f9de991bca = \x_0 -> fmap fromFFIType (hs_bindgen_d5eb45f9de991bca_base (toFFIType x_0))
{-| __C declaration:__ @my_alloc1@
__defined at:__ @functions\/fun_attributes.h 34:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc1_unsafe :: Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_alloc1@
__defined at:__ @functions\/fun_attributes.h 34:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc1_unsafe = hs_bindgen_d5eb45f9de991bca
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_alloc2@
foreign import ccall unsafe "hs_bindgen_a7aa3949fa7cae3f" hs_bindgen_a7aa3949fa7cae3f_base ::
CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_alloc2@
hs_bindgen_a7aa3949fa7cae3f :: Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_alloc2@
hs_bindgen_a7aa3949fa7cae3f = \x_0 -> fmap fromFFIType (hs_bindgen_a7aa3949fa7cae3f_base (toFFIType x_0))
{-| __C declaration:__ @my_alloc2@
__defined at:__ @functions\/fun_attributes.h 35:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc2_unsafe :: Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_alloc2@
__defined at:__ @functions\/fun_attributes.h 35:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc2_unsafe = hs_bindgen_a7aa3949fa7cae3f
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_square@
foreign import ccall unsafe "hs_bindgen_dbe49279b6585cea" hs_bindgen_dbe49279b6585cea_base ::
CInt
-> CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_square@
hs_bindgen_dbe49279b6585cea :: CInt -> CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_square@
hs_bindgen_dbe49279b6585cea = \x_0 -> fromFFIType (hs_bindgen_dbe49279b6585cea_base (toFFIType x_0))
{-|
Marked @__attribute((const))__@
__C declaration:__ @square@
__defined at:__ @functions\/fun_attributes.h 39:5@
__exported by:__ @functions\/fun_attributes.h@
-}
square_unsafe :: CInt -> CInt
{-|
Marked @__attribute((const))__@
__C declaration:__ @square@
__defined at:__ @functions\/fun_attributes.h 39:5@
__exported by:__ @functions\/fun_attributes.h@
-}
square_unsafe = hs_bindgen_dbe49279b6585cea
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_old_fn_deprecated@
foreign import ccall unsafe "hs_bindgen_f51c36dd7e8f4133" hs_bindgen_f51c36dd7e8f4133_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_old_fn_deprecated@
hs_bindgen_f51c36dd7e8f4133 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_old_fn_deprecated@
hs_bindgen_f51c36dd7e8f4133 = fmap fromFFIType hs_bindgen_f51c36dd7e8f4133_base
{-| __C declaration:__ @old_fn_deprecated@
__defined at:__ @functions\/fun_attributes.h 48:5@
__exported by:__ @functions\/fun_attributes.h@
-}
old_fn_deprecated_unsafe :: IO CInt
{-| __C declaration:__ @old_fn_deprecated@
__defined at:__ @functions\/fun_attributes.h 48:5@
__exported by:__ @functions\/fun_attributes.h@
-}
old_fn_deprecated_unsafe = hs_bindgen_f51c36dd7e8f4133
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_dgettext@
foreign import ccall unsafe "hs_bindgen_bf6f222178bd7c31" hs_bindgen_bf6f222178bd7c31_base ::
Ptr Void
-> Ptr Void
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_dgettext@
hs_bindgen_bf6f222178bd7c31 :: Ptr CChar ->
PtrConst CChar -> IO (Ptr CChar)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_dgettext@
hs_bindgen_bf6f222178bd7c31 = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_bf6f222178bd7c31_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @my_dgettext@
__defined at:__ @functions\/fun_attributes.h 64:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_dgettext_unsafe :: Ptr CChar -> PtrConst CChar -> IO (Ptr CChar)
{-| __C declaration:__ @my_dgettext@
__defined at:__ @functions\/fun_attributes.h 64:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_dgettext_unsafe = hs_bindgen_bf6f222178bd7c31
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fdopen@
foreign import ccall unsafe "hs_bindgen_830629dc11c2fdfc" hs_bindgen_830629dc11c2fdfc_base ::
CInt
-> Ptr Void
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fdopen@
hs_bindgen_830629dc11c2fdfc :: CInt ->
PtrConst CChar -> IO (Ptr FILE)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fdopen@
hs_bindgen_830629dc11c2fdfc = \x_0 -> \x_1 -> fmap fromFFIType (hs_bindgen_830629dc11c2fdfc_base (toFFIType x_0) (toFFIType x_1))
{-| __C declaration:__ @fdopen@
__defined at:__ @functions\/fun_attributes.h 75:9@
__exported by:__ @functions\/fun_attributes.h@
-}
fdopen_unsafe :: CInt -> PtrConst CChar -> IO (Ptr FILE)
{-| __C declaration:__ @fdopen@
__defined at:__ @functions\/fun_attributes.h 75:9@
__exported by:__ @functions\/fun_attributes.h@
-}
fdopen_unsafe = hs_bindgen_830629dc11c2fdfc
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f2@
foreign import ccall unsafe "hs_bindgen_a5f34f5beb1c74f1" hs_bindgen_a5f34f5beb1c74f1_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f2@
hs_bindgen_a5f34f5beb1c74f1 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f2@
hs_bindgen_a5f34f5beb1c74f1 = hs_bindgen_a5f34f5beb1c74f1_base
{-| __C declaration:__ @f2@
__defined at:__ @functions\/fun_attributes.h 79:65@
__exported by:__ @functions\/fun_attributes.h@
-}
f2_unsafe :: IO ()
{-| __C declaration:__ @f2@
__defined at:__ @functions\/fun_attributes.h 79:65@
__exported by:__ @functions\/fun_attributes.h@
-}
f2_unsafe = hs_bindgen_a5f34f5beb1c74f1
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_memcpy@
foreign import ccall unsafe "hs_bindgen_0f3586df383dffea" hs_bindgen_0f3586df383dffea_base ::
Ptr Void
-> Ptr Void
-> CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_memcpy@
hs_bindgen_0f3586df383dffea :: Ptr Void ->
PtrConst Void -> Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_my_memcpy@
hs_bindgen_0f3586df383dffea = \x_0 -> \x_1 -> \x_2 -> fmap fromFFIType (hs_bindgen_0f3586df383dffea_base (toFFIType x_0) (toFFIType x_1) (toFFIType x_2))
{-| __C declaration:__ @my_memcpy@
__defined at:__ @functions\/fun_attributes.h 85:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memcpy_unsafe :: Ptr Void ->
PtrConst Void -> Size_t -> IO (Ptr Void)
{-| __C declaration:__ @my_memcpy@
__defined at:__ @functions\/fun_attributes.h 85:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memcpy_unsafe = hs_bindgen_0f3586df383dffea
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fatal@
foreign import ccall unsafe "hs_bindgen_667d3280d945cd0c" hs_bindgen_667d3280d945cd0c_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fatal@
hs_bindgen_667d3280d945cd0c :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fatal@
hs_bindgen_667d3280d945cd0c = hs_bindgen_667d3280d945cd0c_base
{-| __C declaration:__ @fatal@
__defined at:__ @functions\/fun_attributes.h 102:6@
__exported by:__ @functions\/fun_attributes.h@
-}
fatal_unsafe :: IO ()
{-| __C declaration:__ @fatal@
__defined at:__ @functions\/fun_attributes.h 102:6@
__exported by:__ @functions\/fun_attributes.h@
-}
fatal_unsafe = hs_bindgen_667d3280d945cd0c
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_hash@
foreign import ccall unsafe "hs_bindgen_394fd662d5fb7aa6" hs_bindgen_394fd662d5fb7aa6_base ::
Ptr Void
-> IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_hash@
hs_bindgen_394fd662d5fb7aa6 :: Ptr CChar -> IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_hash@
hs_bindgen_394fd662d5fb7aa6 = \x_0 -> fmap fromFFIType (hs_bindgen_394fd662d5fb7aa6_base (toFFIType x_0))
{-|
Marked @__attribute((pure))__@
__C declaration:__ @hash@
__defined at:__ @functions\/fun_attributes.h 110:5@
__exported by:__ @functions\/fun_attributes.h@
-}
hash_unsafe :: Ptr CChar -> IO CInt
{-|
Marked @__attribute((pure))__@
__C declaration:__ @hash@
__defined at:__ @functions\/fun_attributes.h 110:5@
__exported by:__ @functions\/fun_attributes.h@
-}
hash_unsafe = hs_bindgen_394fd662d5fb7aa6
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_mymalloc@
foreign import ccall unsafe "hs_bindgen_5594a84fb65782e1" hs_bindgen_5594a84fb65782e1_base ::
CInt
-> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_mymalloc@
hs_bindgen_5594a84fb65782e1 :: Size_t -> IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_mymalloc@
hs_bindgen_5594a84fb65782e1 = \x_0 -> fmap fromFFIType (hs_bindgen_5594a84fb65782e1_base (toFFIType x_0))
{-| __C declaration:__ @mymalloc@
__defined at:__ @functions\/fun_attributes.h 115:1@
__exported by:__ @functions\/fun_attributes.h@
-}
mymalloc_unsafe :: Size_t -> IO (Ptr Void)
{-| __C declaration:__ @mymalloc@
__defined at:__ @functions\/fun_attributes.h 115:1@
__exported by:__ @functions\/fun_attributes.h@
-}
mymalloc_unsafe = hs_bindgen_5594a84fb65782e1
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_foobar@
foreign import ccall unsafe "hs_bindgen_1f19397195b32853" hs_bindgen_1f19397195b32853_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_foobar@
hs_bindgen_1f19397195b32853 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_foobar@
hs_bindgen_1f19397195b32853 = hs_bindgen_1f19397195b32853_base
{-| __C declaration:__ @foobar@
__defined at:__ @functions\/fun_attributes.h 119:13@
__exported by:__ @functions\/fun_attributes.h@
-}
foobar_unsafe :: IO ()
{-| __C declaration:__ @foobar@
__defined at:__ @functions\/fun_attributes.h 119:13@
__exported by:__ @functions\/fun_attributes.h@
-}
foobar_unsafe = hs_bindgen_1f19397195b32853
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_core2_func@
foreign import ccall unsafe "hs_bindgen_f80f9b58791a9cf2" hs_bindgen_f80f9b58791a9cf2_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_core2_func@
hs_bindgen_f80f9b58791a9cf2 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_core2_func@
hs_bindgen_f80f9b58791a9cf2 = fmap fromFFIType hs_bindgen_f80f9b58791a9cf2_base
{-| __C declaration:__ @core2_func@
__defined at:__ @functions\/fun_attributes.h 126:5@
__exported by:__ @functions\/fun_attributes.h@
-}
core2_func_unsafe :: IO CInt
{-| __C declaration:__ @core2_func@
__defined at:__ @functions\/fun_attributes.h 126:5@
__exported by:__ @functions\/fun_attributes.h@
-}
core2_func_unsafe = hs_bindgen_f80f9b58791a9cf2
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_sse3_func@
foreign import ccall unsafe "hs_bindgen_6a951361c18a91a0" hs_bindgen_6a951361c18a91a0_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_sse3_func@
hs_bindgen_6a951361c18a91a0 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_sse3_func@
hs_bindgen_6a951361c18a91a0 = fmap fromFFIType hs_bindgen_6a951361c18a91a0_base
{-| __C declaration:__ @sse3_func@
__defined at:__ @functions\/fun_attributes.h 127:5@
__exported by:__ @functions\/fun_attributes.h@
-}
sse3_func_unsafe :: IO CInt
{-| __C declaration:__ @sse3_func@
__defined at:__ @functions\/fun_attributes.h 127:5@
__exported by:__ @functions\/fun_attributes.h@
-}
sse3_func_unsafe = hs_bindgen_6a951361c18a91a0
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f3@
foreign import ccall unsafe "hs_bindgen_1d7f2cdf95b3bfa3" hs_bindgen_1d7f2cdf95b3bfa3_base ::
IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f3@
hs_bindgen_1d7f2cdf95b3bfa3 :: IO ()
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_f3@
hs_bindgen_1d7f2cdf95b3bfa3 = hs_bindgen_1d7f2cdf95b3bfa3_base
{-| __C declaration:__ @f3@
__defined at:__ @functions\/fun_attributes.h 131:49@
__exported by:__ @functions\/fun_attributes.h@
-}
f3_unsafe :: IO ()
{-| __C declaration:__ @f3@
__defined at:__ @functions\/fun_attributes.h 131:49@
__exported by:__ @functions\/fun_attributes.h@
-}
f3_unsafe = hs_bindgen_1d7f2cdf95b3bfa3
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fn@
foreign import ccall unsafe "hs_bindgen_c1fff017165ba0e1" hs_bindgen_c1fff017165ba0e1_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fn@
hs_bindgen_c1fff017165ba0e1 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_fn@
hs_bindgen_c1fff017165ba0e1 = fmap fromFFIType hs_bindgen_c1fff017165ba0e1_base
{-| __C declaration:__ @fn@
__defined at:__ @functions\/fun_attributes.h 136:5@
__exported by:__ @functions\/fun_attributes.h@
-}
fn_unsafe :: IO CInt
{-| __C declaration:__ @fn@
__defined at:__ @functions\/fun_attributes.h 136:5@
__exported by:__ @functions\/fun_attributes.h@
-}
fn_unsafe = hs_bindgen_c1fff017165ba0e1
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_y@
foreign import ccall unsafe "hs_bindgen_67dc9f91fbda20c7" hs_bindgen_67dc9f91fbda20c7_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_y@
hs_bindgen_67dc9f91fbda20c7 :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_y@
hs_bindgen_67dc9f91fbda20c7 = fmap fromFFIType hs_bindgen_67dc9f91fbda20c7_base
{-| __C declaration:__ @y@
__defined at:__ @functions\/fun_attributes.h 142:12@
__exported by:__ @functions\/fun_attributes.h@
-}
y_unsafe :: IO CInt
{-| __C declaration:__ @y@
__defined at:__ @functions\/fun_attributes.h 142:12@
__exported by:__ @functions\/fun_attributes.h@
-}
y_unsafe = hs_bindgen_67dc9f91fbda20c7
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_z1@
foreign import ccall unsafe "hs_bindgen_92dc5692c137b4da" hs_bindgen_92dc5692c137b4da_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_z1@
hs_bindgen_92dc5692c137b4da :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_z1@
hs_bindgen_92dc5692c137b4da = fmap fromFFIType hs_bindgen_92dc5692c137b4da_base
{-| __C declaration:__ @z1@
__defined at:__ @functions\/fun_attributes.h 145:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z1_unsafe :: IO CInt
{-| __C declaration:__ @z1@
__defined at:__ @functions\/fun_attributes.h 145:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z1_unsafe = hs_bindgen_92dc5692c137b4da
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_z2@
foreign import ccall unsafe "hs_bindgen_6e662527d3f0decc" hs_bindgen_6e662527d3f0decc_base ::
IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_z2@
hs_bindgen_6e662527d3f0decc :: IO CInt
-- __unique:__ @test_functionsfun_attributes_Example_Unsafe_z2@
hs_bindgen_6e662527d3f0decc = fmap fromFFIType hs_bindgen_6e662527d3f0decc_base
{-| __C declaration:__ @z2@
__defined at:__ @functions\/fun_attributes.h 148:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z2_unsafe :: IO CInt
{-| __C declaration:__ @z2@
__defined at:__ @functions\/fun_attributes.h 148:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z2_unsafe = hs_bindgen_6e662527d3f0decc
-- __unique:__ @test_functionsfun_attributes_Example_get___f1@
foreign import ccall unsafe "hs_bindgen_99da7108788a2cf4" hs_bindgen_99da7108788a2cf4_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get___f1@
hs_bindgen_99da7108788a2cf4 :: IO (FunPtr (IO ()))
-- __unique:__ @test_functionsfun_attributes_Example_get___f1@
hs_bindgen_99da7108788a2cf4 = fmap fromFFIType hs_bindgen_99da7108788a2cf4_base
{-# NOINLINE __f1_funptr #-}
{-| __C declaration:__ @__f1@
__defined at:__ @functions\/fun_attributes.h 16:13@
__exported by:__ @functions\/fun_attributes.h@
-}
__f1_funptr :: FunPtr (IO ())
{-| __C declaration:__ @__f1@
__defined at:__ @functions\/fun_attributes.h 16:13@
__exported by:__ @functions\/fun_attributes.h@
-}
__f1_funptr = unsafePerformIO hs_bindgen_99da7108788a2cf4
-- __unique:__ @test_functionsfun_attributes_Example_get_f1@
foreign import ccall unsafe "hs_bindgen_a0d2ec6ffc23fc5a" hs_bindgen_a0d2ec6ffc23fc5a_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_f1@
hs_bindgen_a0d2ec6ffc23fc5a :: IO (FunPtr (IO ()))
-- __unique:__ @test_functionsfun_attributes_Example_get_f1@
hs_bindgen_a0d2ec6ffc23fc5a = fmap fromFFIType hs_bindgen_a0d2ec6ffc23fc5a_base
{-# NOINLINE f1_funptr #-}
{-| __C declaration:__ @f1@
__defined at:__ @functions\/fun_attributes.h 19:6@
__exported by:__ @functions\/fun_attributes.h@
-}
f1_funptr :: FunPtr (IO ())
{-| __C declaration:__ @f1@
__defined at:__ @functions\/fun_attributes.h 19:6@
__exported by:__ @functions\/fun_attributes.h@
-}
f1_funptr = unsafePerformIO hs_bindgen_a0d2ec6ffc23fc5a
-- __unique:__ @test_functionsfun_attributes_Example_get_my_memalign@
foreign import ccall unsafe "hs_bindgen_16a2a5a807cc26ec" hs_bindgen_16a2a5a807cc26ec_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_my_memalign@
hs_bindgen_16a2a5a807cc26ec :: IO (FunPtr (Size_t ->
Size_t -> IO (Ptr Void)))
-- __unique:__ @test_functionsfun_attributes_Example_get_my_memalign@
hs_bindgen_16a2a5a807cc26ec = fmap fromFFIType hs_bindgen_16a2a5a807cc26ec_base
{-# NOINLINE my_memalign_funptr #-}
{-| __C declaration:__ @my_memalign@
__defined at:__ @functions\/fun_attributes.h 23:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memalign_funptr :: FunPtr (Size_t -> Size_t -> IO (Ptr Void))
{-| __C declaration:__ @my_memalign@
__defined at:__ @functions\/fun_attributes.h 23:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memalign_funptr = unsafePerformIO hs_bindgen_16a2a5a807cc26ec
-- __unique:__ @test_functionsfun_attributes_Example_get_my_calloc@
foreign import ccall unsafe "hs_bindgen_976df97f9c9c1223" hs_bindgen_976df97f9c9c1223_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_my_calloc@
hs_bindgen_976df97f9c9c1223 :: IO (FunPtr (Size_t ->
Size_t -> IO (Ptr Void)))
-- __unique:__ @test_functionsfun_attributes_Example_get_my_calloc@
hs_bindgen_976df97f9c9c1223 = fmap fromFFIType hs_bindgen_976df97f9c9c1223_base
{-# NOINLINE my_calloc_funptr #-}
{-| __C declaration:__ @my_calloc@
__defined at:__ @functions\/fun_attributes.h 28:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_calloc_funptr :: FunPtr (Size_t -> Size_t -> IO (Ptr Void))
{-| __C declaration:__ @my_calloc@
__defined at:__ @functions\/fun_attributes.h 28:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_calloc_funptr = unsafePerformIO hs_bindgen_976df97f9c9c1223
-- __unique:__ @test_functionsfun_attributes_Example_get_my_realloc@
foreign import ccall unsafe "hs_bindgen_4021d3c6eae30c8c" hs_bindgen_4021d3c6eae30c8c_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_my_realloc@
hs_bindgen_4021d3c6eae30c8c :: IO (FunPtr (Ptr Void ->
Size_t -> IO (Ptr Void)))
-- __unique:__ @test_functionsfun_attributes_Example_get_my_realloc@
hs_bindgen_4021d3c6eae30c8c = fmap fromFFIType hs_bindgen_4021d3c6eae30c8c_base
{-# NOINLINE my_realloc_funptr #-}
{-| __C declaration:__ @my_realloc@
__defined at:__ @functions\/fun_attributes.h 29:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_realloc_funptr :: FunPtr (Ptr Void -> Size_t -> IO (Ptr Void))
{-| __C declaration:__ @my_realloc@
__defined at:__ @functions\/fun_attributes.h 29:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_realloc_funptr = unsafePerformIO hs_bindgen_4021d3c6eae30c8c
-- __unique:__ @test_functionsfun_attributes_Example_get_my_alloc1@
foreign import ccall unsafe "hs_bindgen_2ca35d0827c76ff7" hs_bindgen_2ca35d0827c76ff7_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_my_alloc1@
hs_bindgen_2ca35d0827c76ff7 :: IO (FunPtr (Size_t ->
IO (Ptr Void)))
-- __unique:__ @test_functionsfun_attributes_Example_get_my_alloc1@
hs_bindgen_2ca35d0827c76ff7 = fmap fromFFIType hs_bindgen_2ca35d0827c76ff7_base
{-# NOINLINE my_alloc1_funptr #-}
{-| __C declaration:__ @my_alloc1@
__defined at:__ @functions\/fun_attributes.h 34:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc1_funptr :: FunPtr (Size_t -> IO (Ptr Void))
{-| __C declaration:__ @my_alloc1@
__defined at:__ @functions\/fun_attributes.h 34:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc1_funptr = unsafePerformIO hs_bindgen_2ca35d0827c76ff7
-- __unique:__ @test_functionsfun_attributes_Example_get_my_alloc2@
foreign import ccall unsafe "hs_bindgen_a43746fed9206f42" hs_bindgen_a43746fed9206f42_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_my_alloc2@
hs_bindgen_a43746fed9206f42 :: IO (FunPtr (Size_t ->
IO (Ptr Void)))
-- __unique:__ @test_functionsfun_attributes_Example_get_my_alloc2@
hs_bindgen_a43746fed9206f42 = fmap fromFFIType hs_bindgen_a43746fed9206f42_base
{-# NOINLINE my_alloc2_funptr #-}
{-| __C declaration:__ @my_alloc2@
__defined at:__ @functions\/fun_attributes.h 35:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc2_funptr :: FunPtr (Size_t -> IO (Ptr Void))
{-| __C declaration:__ @my_alloc2@
__defined at:__ @functions\/fun_attributes.h 35:7@
__exported by:__ @functions\/fun_attributes.h@
-}
my_alloc2_funptr = unsafePerformIO hs_bindgen_a43746fed9206f42
-- __unique:__ @test_functionsfun_attributes_Example_get_square@
foreign import ccall unsafe "hs_bindgen_d41557222fd2ab94" hs_bindgen_d41557222fd2ab94_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_square@
hs_bindgen_d41557222fd2ab94 :: IO (FunPtr (CInt -> IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_square@
hs_bindgen_d41557222fd2ab94 = fmap fromFFIType hs_bindgen_d41557222fd2ab94_base
{-# NOINLINE square_funptr #-}
{-| __C declaration:__ @square@
__defined at:__ @functions\/fun_attributes.h 39:5@
__exported by:__ @functions\/fun_attributes.h@
-}
square_funptr :: FunPtr (CInt -> IO CInt)
{-| __C declaration:__ @square@
__defined at:__ @functions\/fun_attributes.h 39:5@
__exported by:__ @functions\/fun_attributes.h@
-}
square_funptr = unsafePerformIO hs_bindgen_d41557222fd2ab94
-- __unique:__ @test_functionsfun_attributes_Example_get_old_fn_deprecated@
foreign import ccall unsafe "hs_bindgen_beee43878922a900" hs_bindgen_beee43878922a900_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_old_fn_deprecated@
hs_bindgen_beee43878922a900 :: IO (FunPtr (IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_old_fn_deprecated@
hs_bindgen_beee43878922a900 = fmap fromFFIType hs_bindgen_beee43878922a900_base
{-# NOINLINE old_fn_deprecated_funptr #-}
{-| __C declaration:__ @old_fn_deprecated@
__defined at:__ @functions\/fun_attributes.h 48:5@
__exported by:__ @functions\/fun_attributes.h@
-}
old_fn_deprecated_funptr :: FunPtr (IO CInt)
{-| __C declaration:__ @old_fn_deprecated@
__defined at:__ @functions\/fun_attributes.h 48:5@
__exported by:__ @functions\/fun_attributes.h@
-}
old_fn_deprecated_funptr = unsafePerformIO hs_bindgen_beee43878922a900
-- __unique:__ @test_functionsfun_attributes_Example_get_my_dgettext@
foreign import ccall unsafe "hs_bindgen_f95f43d50ed8f2b4" hs_bindgen_f95f43d50ed8f2b4_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_my_dgettext@
hs_bindgen_f95f43d50ed8f2b4 :: IO (FunPtr (Ptr CChar ->
PtrConst CChar -> IO (Ptr CChar)))
-- __unique:__ @test_functionsfun_attributes_Example_get_my_dgettext@
hs_bindgen_f95f43d50ed8f2b4 = fmap fromFFIType hs_bindgen_f95f43d50ed8f2b4_base
{-# NOINLINE my_dgettext_funptr #-}
{-| __C declaration:__ @my_dgettext@
__defined at:__ @functions\/fun_attributes.h 64:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_dgettext_funptr :: FunPtr (Ptr CChar ->
PtrConst CChar -> IO (Ptr CChar))
{-| __C declaration:__ @my_dgettext@
__defined at:__ @functions\/fun_attributes.h 64:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_dgettext_funptr = unsafePerformIO hs_bindgen_f95f43d50ed8f2b4
-- __unique:__ @test_functionsfun_attributes_Example_get_fdopen@
foreign import ccall unsafe "hs_bindgen_986260288574592d" hs_bindgen_986260288574592d_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_fdopen@
hs_bindgen_986260288574592d :: IO (FunPtr (CInt ->
PtrConst CChar -> IO (Ptr FILE)))
-- __unique:__ @test_functionsfun_attributes_Example_get_fdopen@
hs_bindgen_986260288574592d = fmap fromFFIType hs_bindgen_986260288574592d_base
{-# NOINLINE fdopen_funptr #-}
{-| __C declaration:__ @fdopen@
__defined at:__ @functions\/fun_attributes.h 75:9@
__exported by:__ @functions\/fun_attributes.h@
-}
fdopen_funptr :: FunPtr (CInt -> PtrConst CChar -> IO (Ptr FILE))
{-| __C declaration:__ @fdopen@
__defined at:__ @functions\/fun_attributes.h 75:9@
__exported by:__ @functions\/fun_attributes.h@
-}
fdopen_funptr = unsafePerformIO hs_bindgen_986260288574592d
-- __unique:__ @test_functionsfun_attributes_Example_get_f2@
foreign import ccall unsafe "hs_bindgen_fa90d405c15977a2" hs_bindgen_fa90d405c15977a2_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_f2@
hs_bindgen_fa90d405c15977a2 :: IO (FunPtr (IO ()))
-- __unique:__ @test_functionsfun_attributes_Example_get_f2@
hs_bindgen_fa90d405c15977a2 = fmap fromFFIType hs_bindgen_fa90d405c15977a2_base
{-# NOINLINE f2_funptr #-}
{-| __C declaration:__ @f2@
__defined at:__ @functions\/fun_attributes.h 79:65@
__exported by:__ @functions\/fun_attributes.h@
-}
f2_funptr :: FunPtr (IO ())
{-| __C declaration:__ @f2@
__defined at:__ @functions\/fun_attributes.h 79:65@
__exported by:__ @functions\/fun_attributes.h@
-}
f2_funptr = unsafePerformIO hs_bindgen_fa90d405c15977a2
-- __unique:__ @test_functionsfun_attributes_Example_get_my_memcpy@
foreign import ccall unsafe "hs_bindgen_481e3a75205c85f2" hs_bindgen_481e3a75205c85f2_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_my_memcpy@
hs_bindgen_481e3a75205c85f2 :: IO (FunPtr (Ptr Void ->
PtrConst Void -> Size_t -> IO (Ptr Void)))
-- __unique:__ @test_functionsfun_attributes_Example_get_my_memcpy@
hs_bindgen_481e3a75205c85f2 = fmap fromFFIType hs_bindgen_481e3a75205c85f2_base
{-# NOINLINE my_memcpy_funptr #-}
{-| __C declaration:__ @my_memcpy@
__defined at:__ @functions\/fun_attributes.h 85:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memcpy_funptr :: FunPtr (Ptr Void ->
PtrConst Void -> Size_t -> IO (Ptr Void))
{-| __C declaration:__ @my_memcpy@
__defined at:__ @functions\/fun_attributes.h 85:1@
__exported by:__ @functions\/fun_attributes.h@
-}
my_memcpy_funptr = unsafePerformIO hs_bindgen_481e3a75205c85f2
-- __unique:__ @test_functionsfun_attributes_Example_get_fatal@
foreign import ccall unsafe "hs_bindgen_99cc62837ebec657" hs_bindgen_99cc62837ebec657_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_fatal@
hs_bindgen_99cc62837ebec657 :: IO (FunPtr (IO ()))
-- __unique:__ @test_functionsfun_attributes_Example_get_fatal@
hs_bindgen_99cc62837ebec657 = fmap fromFFIType hs_bindgen_99cc62837ebec657_base
{-# NOINLINE fatal_funptr #-}
{-| __C declaration:__ @fatal@
__defined at:__ @functions\/fun_attributes.h 102:6@
__exported by:__ @functions\/fun_attributes.h@
-}
fatal_funptr :: FunPtr (IO ())
{-| __C declaration:__ @fatal@
__defined at:__ @functions\/fun_attributes.h 102:6@
__exported by:__ @functions\/fun_attributes.h@
-}
fatal_funptr = unsafePerformIO hs_bindgen_99cc62837ebec657
-- __unique:__ @test_functionsfun_attributes_Example_get_hash@
foreign import ccall unsafe "hs_bindgen_196cbfce2a9df94f" hs_bindgen_196cbfce2a9df94f_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_hash@
hs_bindgen_196cbfce2a9df94f :: IO (FunPtr (Ptr CChar -> IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_hash@
hs_bindgen_196cbfce2a9df94f = fmap fromFFIType hs_bindgen_196cbfce2a9df94f_base
{-# NOINLINE hash_funptr #-}
{-| __C declaration:__ @hash@
__defined at:__ @functions\/fun_attributes.h 110:5@
__exported by:__ @functions\/fun_attributes.h@
-}
hash_funptr :: FunPtr (Ptr CChar -> IO CInt)
{-| __C declaration:__ @hash@
__defined at:__ @functions\/fun_attributes.h 110:5@
__exported by:__ @functions\/fun_attributes.h@
-}
hash_funptr = unsafePerformIO hs_bindgen_196cbfce2a9df94f
-- __unique:__ @test_functionsfun_attributes_Example_get_mymalloc@
foreign import ccall unsafe "hs_bindgen_ae6b503283507bd2" hs_bindgen_ae6b503283507bd2_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_mymalloc@
hs_bindgen_ae6b503283507bd2 :: IO (FunPtr (Size_t ->
IO (Ptr Void)))
-- __unique:__ @test_functionsfun_attributes_Example_get_mymalloc@
hs_bindgen_ae6b503283507bd2 = fmap fromFFIType hs_bindgen_ae6b503283507bd2_base
{-# NOINLINE mymalloc_funptr #-}
{-| __C declaration:__ @mymalloc@
__defined at:__ @functions\/fun_attributes.h 115:1@
__exported by:__ @functions\/fun_attributes.h@
-}
mymalloc_funptr :: FunPtr (Size_t -> IO (Ptr Void))
{-| __C declaration:__ @mymalloc@
__defined at:__ @functions\/fun_attributes.h 115:1@
__exported by:__ @functions\/fun_attributes.h@
-}
mymalloc_funptr = unsafePerformIO hs_bindgen_ae6b503283507bd2
-- __unique:__ @test_functionsfun_attributes_Example_get_foobar@
foreign import ccall unsafe "hs_bindgen_ad3e5c88477c9e92" hs_bindgen_ad3e5c88477c9e92_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_foobar@
hs_bindgen_ad3e5c88477c9e92 :: IO (FunPtr (IO ()))
-- __unique:__ @test_functionsfun_attributes_Example_get_foobar@
hs_bindgen_ad3e5c88477c9e92 = fmap fromFFIType hs_bindgen_ad3e5c88477c9e92_base
{-# NOINLINE foobar_funptr #-}
{-| __C declaration:__ @foobar@
__defined at:__ @functions\/fun_attributes.h 119:13@
__exported by:__ @functions\/fun_attributes.h@
-}
foobar_funptr :: FunPtr (IO ())
{-| __C declaration:__ @foobar@
__defined at:__ @functions\/fun_attributes.h 119:13@
__exported by:__ @functions\/fun_attributes.h@
-}
foobar_funptr = unsafePerformIO hs_bindgen_ad3e5c88477c9e92
-- __unique:__ @test_functionsfun_attributes_Example_get_core2_func@
foreign import ccall unsafe "hs_bindgen_508f28109ff2076e" hs_bindgen_508f28109ff2076e_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_core2_func@
hs_bindgen_508f28109ff2076e :: IO (FunPtr (IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_core2_func@
hs_bindgen_508f28109ff2076e = fmap fromFFIType hs_bindgen_508f28109ff2076e_base
{-# NOINLINE core2_func_funptr #-}
{-| __C declaration:__ @core2_func@
__defined at:__ @functions\/fun_attributes.h 126:5@
__exported by:__ @functions\/fun_attributes.h@
-}
core2_func_funptr :: FunPtr (IO CInt)
{-| __C declaration:__ @core2_func@
__defined at:__ @functions\/fun_attributes.h 126:5@
__exported by:__ @functions\/fun_attributes.h@
-}
core2_func_funptr = unsafePerformIO hs_bindgen_508f28109ff2076e
-- __unique:__ @test_functionsfun_attributes_Example_get_sse3_func@
foreign import ccall unsafe "hs_bindgen_6e4f5b53b36a3ecb" hs_bindgen_6e4f5b53b36a3ecb_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_sse3_func@
hs_bindgen_6e4f5b53b36a3ecb :: IO (FunPtr (IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_sse3_func@
hs_bindgen_6e4f5b53b36a3ecb = fmap fromFFIType hs_bindgen_6e4f5b53b36a3ecb_base
{-# NOINLINE sse3_func_funptr #-}
{-| __C declaration:__ @sse3_func@
__defined at:__ @functions\/fun_attributes.h 127:5@
__exported by:__ @functions\/fun_attributes.h@
-}
sse3_func_funptr :: FunPtr (IO CInt)
{-| __C declaration:__ @sse3_func@
__defined at:__ @functions\/fun_attributes.h 127:5@
__exported by:__ @functions\/fun_attributes.h@
-}
sse3_func_funptr = unsafePerformIO hs_bindgen_6e4f5b53b36a3ecb
-- __unique:__ @test_functionsfun_attributes_Example_get_f3@
foreign import ccall unsafe "hs_bindgen_e39d5186f5da6c3f" hs_bindgen_e39d5186f5da6c3f_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_f3@
hs_bindgen_e39d5186f5da6c3f :: IO (FunPtr (IO ()))
-- __unique:__ @test_functionsfun_attributes_Example_get_f3@
hs_bindgen_e39d5186f5da6c3f = fmap fromFFIType hs_bindgen_e39d5186f5da6c3f_base
{-# NOINLINE f3_funptr #-}
{-| __C declaration:__ @f3@
__defined at:__ @functions\/fun_attributes.h 131:49@
__exported by:__ @functions\/fun_attributes.h@
-}
f3_funptr :: FunPtr (IO ())
{-| __C declaration:__ @f3@
__defined at:__ @functions\/fun_attributes.h 131:49@
__exported by:__ @functions\/fun_attributes.h@
-}
f3_funptr = unsafePerformIO hs_bindgen_e39d5186f5da6c3f
-- __unique:__ @test_functionsfun_attributes_Example_get_fn@
foreign import ccall unsafe "hs_bindgen_acb0e567f47dc0eb" hs_bindgen_acb0e567f47dc0eb_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_fn@
hs_bindgen_acb0e567f47dc0eb :: IO (FunPtr (IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_fn@
hs_bindgen_acb0e567f47dc0eb = fmap fromFFIType hs_bindgen_acb0e567f47dc0eb_base
{-# NOINLINE fn_funptr #-}
{-| __C declaration:__ @fn@
__defined at:__ @functions\/fun_attributes.h 136:5@
__exported by:__ @functions\/fun_attributes.h@
-}
fn_funptr :: FunPtr (IO CInt)
{-| __C declaration:__ @fn@
__defined at:__ @functions\/fun_attributes.h 136:5@
__exported by:__ @functions\/fun_attributes.h@
-}
fn_funptr = unsafePerformIO hs_bindgen_acb0e567f47dc0eb
-- __unique:__ @test_functionsfun_attributes_Example_get_y@
foreign import ccall unsafe "hs_bindgen_a1f58949b267b87f" hs_bindgen_a1f58949b267b87f_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_y@
hs_bindgen_a1f58949b267b87f :: IO (FunPtr (IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_y@
hs_bindgen_a1f58949b267b87f = fmap fromFFIType hs_bindgen_a1f58949b267b87f_base
{-# NOINLINE y_funptr #-}
{-| __C declaration:__ @y@
__defined at:__ @functions\/fun_attributes.h 142:12@
__exported by:__ @functions\/fun_attributes.h@
-}
y_funptr :: FunPtr (IO CInt)
{-| __C declaration:__ @y@
__defined at:__ @functions\/fun_attributes.h 142:12@
__exported by:__ @functions\/fun_attributes.h@
-}
y_funptr = unsafePerformIO hs_bindgen_a1f58949b267b87f
-- __unique:__ @test_functionsfun_attributes_Example_get_z1@
foreign import ccall unsafe "hs_bindgen_27c558455e5d5b1a" hs_bindgen_27c558455e5d5b1a_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_z1@
hs_bindgen_27c558455e5d5b1a :: IO (FunPtr (IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_z1@
hs_bindgen_27c558455e5d5b1a = fmap fromFFIType hs_bindgen_27c558455e5d5b1a_base
{-# NOINLINE z1_funptr #-}
{-| __C declaration:__ @z1@
__defined at:__ @functions\/fun_attributes.h 145:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z1_funptr :: FunPtr (IO CInt)
{-| __C declaration:__ @z1@
__defined at:__ @functions\/fun_attributes.h 145:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z1_funptr = unsafePerformIO hs_bindgen_27c558455e5d5b1a
-- __unique:__ @test_functionsfun_attributes_Example_get_z2@
foreign import ccall unsafe "hs_bindgen_ef816c1d50bc7bb9" hs_bindgen_ef816c1d50bc7bb9_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_z2@
hs_bindgen_ef816c1d50bc7bb9 :: IO (FunPtr (IO CInt))
-- __unique:__ @test_functionsfun_attributes_Example_get_z2@
hs_bindgen_ef816c1d50bc7bb9 = fmap fromFFIType hs_bindgen_ef816c1d50bc7bb9_base
{-# NOINLINE z2_funptr #-}
{-| __C declaration:__ @z2@
__defined at:__ @functions\/fun_attributes.h 148:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z2_funptr :: FunPtr (IO CInt)
{-| __C declaration:__ @z2@
__defined at:__ @functions\/fun_attributes.h 148:12@
__exported by:__ @functions\/fun_attributes.h@
-}
z2_funptr = unsafePerformIO hs_bindgen_ef816c1d50bc7bb9
-- __unique:__ @test_functionsfun_attributes_Example_get_i@
foreign import ccall unsafe "hs_bindgen_cd32cb4982dd2d1a" hs_bindgen_cd32cb4982dd2d1a_base ::
IO (Ptr Void)
-- __unique:__ @test_functionsfun_attributes_Example_get_i@
hs_bindgen_cd32cb4982dd2d1a :: IO (Ptr CInt)
-- __unique:__ @test_functionsfun_attributes_Example_get_i@
hs_bindgen_cd32cb4982dd2d1a = fmap fromFFIType hs_bindgen_cd32cb4982dd2d1a_base
{-# NOINLINE i #-}
{-| __C declaration:__ @i@
__defined at:__ @functions\/fun_attributes.h 132:5@
__exported by:__ @functions\/fun_attributes.h@
-}
i :: Ptr CInt
{-| __C declaration:__ @i@
__defined at:__ @functions\/fun_attributes.h 132:5@
__exported by:__ @functions\/fun_attributes.h@
-}
i = unsafePerformIO hs_bindgen_cd32cb4982dd2d1a