gi-glib-2.0.2: 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.IOFuncs

Contents

Description

A table of functions used to handle different types of #GIOChannel in a generic way.

Synopsis

Exported types

newtype IOFuncs Source #

Constructors

IOFuncs (ForeignPtr IOFuncs) 

Instances

WrappedPtr IOFuncs Source # 

Methods

wrappedPtrCalloc :: IO (Ptr IOFuncs)

wrappedPtrCopy :: Ptr IOFuncs -> IO (Ptr IOFuncs)

wrappedPtrFree :: Maybe (FunPtr (Ptr IOFuncs -> IO ()))

(~) AttrOpTag tag AttrSet => Constructible IOFuncs tag Source # 

Methods

new :: MonadIO m => (ForeignPtr IOFuncs -> IOFuncs) -> [AttrOp IOFuncs tag] -> m IOFuncs

((~) * info (ResolveIOFuncsMethod t IOFuncs), MethodInfo * info IOFuncs p) => IsLabel t (IOFuncs -> p) Source # 

Methods

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

((~) * info (ResolveIOFuncsMethod t IOFuncs), MethodInfo * info IOFuncs p) => IsLabelProxy t (IOFuncs -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> IOFuncs -> p

type AttributeList IOFuncs Source # 
type AttributeList IOFuncs

newZeroIOFuncs :: MonadIO m => m IOFuncs Source #

Construct a IOFuncs struct initialized to zero.