gi-glib-2.0.12: 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 MemVTable must be used for all allocations in the same program; a call to memSetVtable, 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 #

Instances

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

Methods

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

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

Methods

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

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

Methods

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

HasAttributeList * MemVTable # 
type AttributeList MemVTable # 

newZeroMemVTable :: MonadIO m => m MemVTable #

Construct a MemVTable struct initialized to zero.

Properties

calloc

free

malloc

realloc

tryMalloc

tryRealloc