Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. type DBusSubtreeEnumerateFunc_WithClosures = DBusConnection -> Text -> Text -> Ptr () -> IO [Text]

    gi-gio GI.Gio.Callbacks

    The type of the enumerate function in DBusSubtreeVTable. This function is called when generating introspection data and also when preparing to dispatch incoming messages in the event that the DBusSubtreeFlagsDispatchToUnenumeratedNodes flag is not specified (ie: to verify that the object path is valid). Hierarchies are not supported; the items that you return should not contain the / character. The return value will be freed with strfreev. Since: 2.26

  2. drop_closures_DBusSubtreeEnumerateFunc :: DBusSubtreeEnumerateFunc -> DBusSubtreeEnumerateFunc_WithClosures

    gi-gio GI.Gio.Callbacks

    A simple wrapper that ignores the closure arguments.

  3. dynamic_DBusSubtreeEnumerateFunc :: (HasCallStack, MonadIO m, IsDBusConnection a) => FunPtr C_DBusSubtreeEnumerateFunc -> a -> Text -> Text -> Ptr () -> m [Text]

    gi-gio GI.Gio.Callbacks

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

  4. genClosure_DBusSubtreeEnumerateFunc :: MonadIO m => DBusSubtreeEnumerateFunc -> m (GClosure C_DBusSubtreeEnumerateFunc)

    gi-gio GI.Gio.Callbacks

    Wrap the callback into a GClosure.

  5. mk_DBusSubtreeEnumerateFunc :: C_DBusSubtreeEnumerateFunc -> IO (FunPtr C_DBusSubtreeEnumerateFunc)

    gi-gio GI.Gio.Callbacks

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

  6. noDBusSubtreeEnumerateFunc :: Maybe DBusSubtreeEnumerateFunc

    gi-gio GI.Gio.Callbacks

    A convenience synonym for Nothing :: Maybe DBusSubtreeEnumerateFunc.

  7. noDBusSubtreeEnumerateFunc_WithClosures :: Maybe DBusSubtreeEnumerateFunc_WithClosures

    gi-gio GI.Gio.Callbacks

    A convenience synonym for Nothing :: Maybe DBusSubtreeEnumerateFunc_WithClosures.

  8. wrap_DBusSubtreeEnumerateFunc :: Maybe (Ptr (FunPtr C_DBusSubtreeEnumerateFunc)) -> DBusSubtreeEnumerateFunc_WithClosures -> C_DBusSubtreeEnumerateFunc

    gi-gio GI.Gio.Callbacks

    Wrap a DBusSubtreeEnumerateFunc into a C_DBusSubtreeEnumerateFunc.

  9. AnotherIOErrorEnum :: Int -> IOErrorEnum

    gi-gio GI.Gio.Enums

    Catch-all for unknown values

  10. data IOErrorEnum

    gi-gio GI.Gio.Enums

    Error codes returned by GIO functions. Note that this domain may be extended in future GLib releases. In general, new error codes either only apply to new APIs, or else replace IOErrorEnumFailed in cases that were not explicitly distinguished before. You should therefore avoid writing code like

    C code

    if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED))
    {
    // Assume that this is EPRINTERONFIRE
    ...
    }
    
    but should instead treat all unrecognized error codes the same as IOErrorEnumFailed. See also PollableReturn for a cheaper way of returning IOErrorEnumWouldBlock to callers without allocating a GError.

Page 108 of many | Previous | Next