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

Contents

Description

A GClosure for C function callbacks.

Synopsis

Exported types

newtype CClosure Source

Constructors

CClosure (ForeignPtr CClosure) 

Instances

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

newZeroCClosure :: MonadIO m => m CClosure Source

Construct a CClosure struct initialized to zero.

Methods

cClosureMarshalBOOLEAN_BOXEDBOXED

cClosureMarshalBOOLEAN_FLAGS

cClosureMarshalGeneric

cClosureMarshalGeneric :: MonadIO m => Closure -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> m () Source

cClosureMarshalSTRING_OBJECTPOINTER

cClosureMarshalVOID_BOOLEAN

cClosureMarshalVOID_BOXED

cClosureMarshalVOID_CHAR

cClosureMarshalVOID_DOUBLE

cClosureMarshalVOID_ENUM

cClosureMarshalVOID_FLAGS

cClosureMarshalVOID_FLOAT

cClosureMarshalVOID_INT

cClosureMarshalVOID_INT :: MonadIO m => Closure -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> m () Source

cClosureMarshalVOID_LONG

cClosureMarshalVOID_OBJECT

cClosureMarshalVOID_PARAM

cClosureMarshalVOID_POINTER

cClosureMarshalVOID_STRING

cClosureMarshalVOID_UCHAR

cClosureMarshalVOID_UINT

cClosureMarshalVOID_UINTPOINTER

cClosureMarshalVOID_ULONG

cClosureMarshalVOID_VARIANT

cClosureMarshalVOID_VOID

Properties

Callback

Closure