Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. type TestFixtureFunc_WithClosures = Ptr () -> Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    The type used for functions that operate on test fixtures. This is used for the fixture setup and teardown functions as well as for the testcases themselves. userData is a pointer to the data that was given when registering the test case. fixture will be a pointer to the area of memory allocated by the test framework, of the size requested. If the requested size was zero then fixture will be equal to userData. Since: 2.28

  2. type UnixFDSourceFunc = Int32 -> [IOCondition] -> IO Bool

    gi-glib GI.GLib.Callbacks

    The type of functions to be called when a UNIX fd watch source triggers.

  3. type UnixFDSourceFunc_WithClosures = Int32 -> [IOCondition] -> Ptr () -> IO Bool

    gi-glib GI.GLib.Callbacks

    The type of functions to be called when a UNIX fd watch source triggers.

  4. drop_closures_TestFixtureFunc :: TestFixtureFunc -> TestFixtureFunc_WithClosures

    gi-glib GI.GLib.Callbacks

    A simple wrapper that ignores the closure arguments.

  5. drop_closures_UnixFDSourceFunc :: UnixFDSourceFunc -> UnixFDSourceFunc_WithClosures

    gi-glib GI.GLib.Callbacks

    A simple wrapper that ignores the closure arguments.

  6. dynamic_TestFixtureFunc :: (HasCallStack, MonadIO m) => FunPtr C_TestFixtureFunc -> Ptr () -> Ptr () -> m ()

    gi-glib GI.GLib.Callbacks

    Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

  7. dynamic_UnixFDSourceFunc :: (HasCallStack, MonadIO m) => FunPtr C_UnixFDSourceFunc -> Int32 -> [IOCondition] -> Ptr () -> m Bool

    gi-glib GI.GLib.Callbacks

    Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

  8. genClosure_TestFixtureFunc :: MonadIO m => TestFixtureFunc -> m (GClosure C_TestFixtureFunc)

    gi-glib GI.GLib.Callbacks

    Wrap the callback into a GClosure.

  9. genClosure_UnixFDSourceFunc :: MonadIO m => UnixFDSourceFunc -> m (GClosure C_UnixFDSourceFunc)

    gi-glib GI.GLib.Callbacks

    Wrap the callback into a GClosure.

  10. mk_TestFixtureFunc :: C_TestFixtureFunc -> IO (FunPtr C_TestFixtureFunc)

    gi-glib GI.GLib.Callbacks

    Generate a function pointer callable from C code, from a C_TestFixtureFunc.

Page 115 of many | Previous | Next