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.MemVTable

Contents

Description

A set of functions used to perform memory allocation. The same #GMemVTable must be used for all allocations in the same program; a call to g_mem_set_vtable(), if it exists, should be prior to any use of GLib.

This functions related to this has been deprecated in 2.46, and no longer work.

Synopsis

Exported types

newtype MemVTable Source #

Constructors

MemVTable (ForeignPtr MemVTable) 

Instances

WrappedPtr MemVTable Source # 

Methods

wrappedPtrCalloc :: IO (Ptr MemVTable)

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

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

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

Methods

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

((~) * info (ResolveMemVTableMethod t MemVTable), MethodInfo * info MemVTable p) => IsLabel t (MemVTable -> p) Source # 

Methods

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

((~) * info (ResolveMemVTableMethod t MemVTable), MethodInfo * info MemVTable p) => IsLabelProxy t (MemVTable -> p) Source # 

Methods

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

type AttributeList MemVTable Source # 
type AttributeList MemVTable

newZeroMemVTable :: MonadIO m => m MemVTable Source #

Construct a MemVTable struct initialized to zero.