gi-dazzle-1.0.2: libdazzle bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Dazzle.Structs.CounterValue

Description

No description available in the introspection data.

Synopsis

Exported types

newtype CounterValue Source #

Memory-managed wrapper type.

Constructors

CounterValue (ManagedPtr CounterValue) 

Instances

Instances details
Eq CounterValue Source # 
Instance details

Defined in GI.Dazzle.Structs.CounterValue

BoxedPtr CounterValue Source # 
Instance details

Defined in GI.Dazzle.Structs.CounterValue

CallocPtr CounterValue Source # 
Instance details

Defined in GI.Dazzle.Structs.CounterValue

ManagedPtrNewtype CounterValue Source # 
Instance details

Defined in GI.Dazzle.Structs.CounterValue

Methods

toManagedPtr :: CounterValue -> ManagedPtr CounterValue

tag ~ 'AttrSet => Constructible CounterValue tag Source # 
Instance details

Defined in GI.Dazzle.Structs.CounterValue

Methods

new :: MonadIO m => (ManagedPtr CounterValue -> CounterValue) -> [AttrOp CounterValue tag] -> m CounterValue

newZeroCounterValue :: MonadIO m => m CounterValue Source #

Construct a CounterValue struct initialized to zero.

Methods

Properties

value

No description available in the introspection data.

getCounterValueValue :: MonadIO m => CounterValue -> m Int64 Source #

Get the value of the “value” field. When overloading is enabled, this is equivalent to

get counterValue #value

setCounterValueValue :: MonadIO m => CounterValue -> Int64 -> m () Source #

Set the value of the “value” field. When overloading is enabled, this is equivalent to

set counterValue [ #value := value ]