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.Unions.TypeCValue

Contents

Description

 

Synopsis

Exported types

newtype TypeCValue Source #

Constructors

TypeCValue (ForeignPtr TypeCValue) 

Instances

WrappedPtr TypeCValue Source # 

Methods

wrappedPtrCalloc :: IO (Ptr TypeCValue)

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

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

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

Methods

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

((~) * info (ResolveTypeCValueMethod t TypeCValue), MethodInfo * info TypeCValue p) => IsLabel t (TypeCValue -> p) Source # 

Methods

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

((~) * info (ResolveTypeCValueMethod t TypeCValue), MethodInfo * info TypeCValue p) => IsLabelProxy t (TypeCValue -> p) Source # 

Methods

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

type AttributeList TypeCValue Source # 
type AttributeList TypeCValue

newZeroTypeCValue :: MonadIO m => m TypeCValue Source #

Construct a TypeCValue struct initialized to zero.

Properties

VDouble

typeCValueReadVDouble :: MonadIO m => TypeCValue -> m Double Source #

typeCValueVDouble :: AttrLabelProxy "vDouble" Source #

typeCValueWriteVDouble :: MonadIO m => TypeCValue -> Double -> m () Source #

VInt

typeCValueReadVInt :: MonadIO m => TypeCValue -> m Int32 Source #

typeCValueVInt :: AttrLabelProxy "vInt" Source #

typeCValueWriteVInt :: MonadIO m => TypeCValue -> Int32 -> m () Source #

VInt64

typeCValueReadVInt64 :: MonadIO m => TypeCValue -> m Int64 Source #

typeCValueVInt64 :: AttrLabelProxy "vInt64" Source #

typeCValueWriteVInt64 :: MonadIO m => TypeCValue -> Int64 -> m () Source #

VLong

typeCValueReadVLong :: MonadIO m => TypeCValue -> m CLong Source #

typeCValueVLong :: AttrLabelProxy "vLong" Source #

typeCValueWriteVLong :: MonadIO m => TypeCValue -> CLong -> m () Source #

VPointer

typeCValueClearVPointer :: MonadIO m => TypeCValue -> m () Source #

typeCValueReadVPointer :: MonadIO m => TypeCValue -> m (Ptr ()) Source #

typeCValueVPointer :: AttrLabelProxy "vPointer" Source #

typeCValueWriteVPointer :: MonadIO m => TypeCValue -> Ptr () -> m () Source #