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.
type
C_VfsFileLookupFunc = Ptr Vfs -> CString -> Ptr () -> IO Ptr Filegi-gio GI.Gio.Callbacks Type for the callback on the (unwrapped) C side.
type
VfsFileLookupFunc = Vfs -> Text -> IO Maybe Filegi-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
type
VfsFileLookupFunc_WithClosures = Vfs -> Text -> Ptr () -> IO Maybe Filegi-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
drop_closures_VfsFileLookupFunc :: VfsFileLookupFunc -> VfsFileLookupFunc_WithClosuresgi-gio GI.Gio.Callbacks A simple wrapper that ignores the closure arguments.
-
gi-gio GI.Gio.Callbacks Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_VfsFileLookupFunc :: MonadIO m => VfsFileLookupFunc -> m (GClosure C_VfsFileLookupFunc)gi-gio GI.Gio.Callbacks Wrap the callback into a GClosure.
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.
noVfsFileLookupFunc :: Maybe VfsFileLookupFuncgi-gio GI.Gio.Callbacks A convenience synonym for Nothing :: Maybe VfsFileLookupFunc.
noVfsFileLookupFunc_WithClosures :: Maybe VfsFileLookupFunc_WithClosuresgi-gio GI.Gio.Callbacks A convenience synonym for Nothing :: Maybe VfsFileLookupFunc_WithClosures.
-
gi-gio GI.Gio.Callbacks Wrap a VfsFileLookupFunc into a C_VfsFileLookupFunc.