gi-gobject-2.0.2: 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.TypePluginClass

Contents

Description

The #GTypePlugin interface is used by the type system in order to handle the lifecycle of dynamically loaded types.

Synopsis

Exported types

newtype TypePluginClass Source #

Constructors

TypePluginClass (ForeignPtr TypePluginClass) 

Instances

WrappedPtr TypePluginClass Source # 

Methods

wrappedPtrCalloc :: IO (Ptr TypePluginClass)

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

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

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

Methods

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

((~) * info (ResolveTypePluginClassMethod t TypePluginClass), MethodInfo * info TypePluginClass p) => IsLabel t (TypePluginClass -> p) Source # 

Methods

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

((~) * info (ResolveTypePluginClassMethod t TypePluginClass), MethodInfo * info TypePluginClass p) => IsLabelProxy t (TypePluginClass -> p) Source # 

Methods

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

type AttributeList TypePluginClass Source # 
type AttributeList TypePluginClass

newZeroTypePluginClass :: MonadIO m => m TypePluginClass Source #

Construct a TypePluginClass struct initialized to zero.