gi-gobject-0.2.46.15: GObject 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.GObject.Structs.TypeInfo

Contents

Description

This structure is used to provide the type system with the information required to initialize and destruct (finalize) a type's class and its instances.

The initialized structure is passed to the g_type_register_static() function (or is copied into the provided #GTypeInfo structure in the g_type_plugin_complete_type_info()). The type system will perform a deep copy of this structure, so its memory does not need to be persistent across invocation of g_type_register_static().

Synopsis

Exported types

newtype TypeInfo Source

Constructors

TypeInfo (ForeignPtr TypeInfo) 

Instances

WrappedPtr TypeInfo 
(~) AttrOpTag tag AttrSet => Constructible TypeInfo tag 
((~) * info (ResolveTypeInfoMethod t TypeInfo), MethodInfo * info TypeInfo p) => IsLabelProxy t (TypeInfo -> p) 
type AttributeList TypeInfo 

newZeroTypeInfo :: MonadIO m => m TypeInfo Source

Construct a TypeInfo struct initialized to zero.

Properties

ClassData

ClassSize

InstanceSize

NPreallocs

ValueTable