Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. type C_VfsFileLookupFunc = Ptr Vfs -> CString -> Ptr () -> IO Ptr File

    gi-gio GI.Gio.Callbacks

    Type for the callback on the (unwrapped) C side.

  2. type VfsFileLookupFunc = Vfs -> Text -> IO Maybe File

    gi-gio GI.Gio.Callbacks

    This function type is used by vfsRegisterUriScheme to make it possible for a client to associate an URI scheme to a different File implementation. The client should return a reference to the new file that has been created for uri, or Nothing to continue with the default implementation. Since: 2.50

  3. type VfsFileLookupFunc_WithClosures = Vfs -> Text -> Ptr () -> IO Maybe File

    gi-gio GI.Gio.Callbacks

    This function type is used by vfsRegisterUriScheme to make it possible for a client to associate an URI scheme to a different File implementation. The client should return a reference to the new file that has been created for uri, or Nothing to continue with the default implementation. Since: 2.50

  4. drop_closures_VfsFileLookupFunc :: VfsFileLookupFunc -> VfsFileLookupFunc_WithClosures

    gi-gio GI.Gio.Callbacks

    A simple wrapper that ignores the closure arguments.

  5. dynamic_VfsFileLookupFunc :: (HasCallStack, MonadIO m, IsVfs a) => FunPtr C_VfsFileLookupFunc -> a -> Text -> Ptr () -> m (Maybe File)

    gi-gio GI.Gio.Callbacks

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

  6. genClosure_VfsFileLookupFunc :: MonadIO m => VfsFileLookupFunc -> m (GClosure C_VfsFileLookupFunc)

    gi-gio GI.Gio.Callbacks

    Wrap the callback into a GClosure.

  7. mk_VfsFileLookupFunc :: C_VfsFileLookupFunc -> IO (FunPtr C_VfsFileLookupFunc)

    gi-gio GI.Gio.Callbacks

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

  8. noVfsFileLookupFunc :: Maybe VfsFileLookupFunc

    gi-gio GI.Gio.Callbacks

    A convenience synonym for Nothing :: Maybe VfsFileLookupFunc.

  9. noVfsFileLookupFunc_WithClosures :: Maybe VfsFileLookupFunc_WithClosures

    gi-gio GI.Gio.Callbacks

    A convenience synonym for Nothing :: Maybe VfsFileLookupFunc_WithClosures.

  10. wrap_VfsFileLookupFunc :: Maybe (Ptr (FunPtr C_VfsFileLookupFunc)) -> VfsFileLookupFunc_WithClosures -> C_VfsFileLookupFunc

    gi-gio GI.Gio.Callbacks

    Wrap a VfsFileLookupFunc into a C_VfsFileLookupFunc.

Page 140 of many | Previous | Next