gi-glib-0.2.46.13: GLib bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GLib.Structs.MappedFile

Contents

Description

The #GMappedFile represents a file mapping created with g_mapped_file_new(). It has only private members and should not be accessed directly.

Synopsis

Exported types

newtype MappedFile Source

Instances

BoxedObject MappedFile Source 
((~) * info (ResolveMappedFileMethod t MappedFile), MethodInfo * info MappedFile p) => IsLabel t (MappedFile -> p) Source 

Methods

fromLabel :: Proxy# Symbol t -> MappedFile -> p

((~) * info (ResolveMappedFileMethod t MappedFile), MethodInfo * info MappedFile p) => IsLabelProxy t (MappedFile -> p) Source 
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) MappedFileUnrefMethodInfo MappedFile signature Source 
((~) (TYPE Lifted) signature (m MappedFile), MonadIO m) => MethodInfo (TYPE Lifted) MappedFileRefMethodInfo MappedFile signature Source 
((~) (TYPE Lifted) signature (m Word64), MonadIO m) => MethodInfo (TYPE Lifted) MappedFileGetLengthMethodInfo MappedFile signature Source 
((~) (TYPE Lifted) signature (m Text), MonadIO m) => MethodInfo (TYPE Lifted) MappedFileGetContentsMethodInfo MappedFile signature Source 
((~) (TYPE Lifted) signature (m Bytes), MonadIO m) => MethodInfo (TYPE Lifted) MappedFileGetBytesMethodInfo MappedFile signature Source 
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) MappedFileFreeMethodInfo MappedFile signature Source 

Methods

mappedFileFree

mappedFileFree :: MonadIO m => MappedFile -> m () Source

Deprecated: (Since version 2.22)Use g_mapped_file_unref() instead.

mappedFileGetBytes

mappedFileGetContents

mappedFileGetLength

mappedFileNew

mappedFileNewFromFd

mappedFileRef

mappedFileUnref