gi-gobject-2.0.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 typeRegisterStatic function (or is copied into the provided TypeInfo structure in the typePluginCompleteTypeInfo). The type system will perform a deep copy of this structure, so its memory does not need to be persistent across invocation of typeRegisterStatic.

Synopsis

Exported types

newZeroTypeInfo :: MonadIO m => m TypeInfo Source #

Construct a TypeInfo struct initialized to zero.

Properties

baseFinalize

baseInit

classData

classFinalize

classInit

classSize

instanceInit

instanceSize

nPreallocs

valueTable