gi-glib-2.0.2: GLib 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.GLib.Structs.TrashStack

Contents

Description

Each piece of memory that is pushed onto the stack is cast to a GTrashStack*.

Synopsis

Exported types

newtype TrashStack Source #

Constructors

TrashStack (ForeignPtr TrashStack) 

Instances

WrappedPtr TrashStack Source # 

Methods

wrappedPtrCalloc :: IO (Ptr TrashStack)

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

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

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

Methods

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

((~) * info (ResolveTrashStackMethod t TrashStack), MethodInfo * info TrashStack p) => IsLabel t (TrashStack -> p) Source # 

Methods

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

((~) * info (ResolveTrashStackMethod t TrashStack), MethodInfo * info TrashStack p) => IsLabelProxy t (TrashStack -> p) Source # 

Methods

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

type AttributeList TrashStack Source # 
type AttributeList TrashStack

newZeroTrashStack :: MonadIO m => m TrashStack Source #

Construct a TrashStack struct initialized to zero.

Methods

trashStackHeight

trashStackHeight :: MonadIO m => TrashStack -> m Word32 Source #

trashStackPush

trashStackPush :: MonadIO m => TrashStack -> Ptr () -> m () Source #

Properties

Next

trashStackClearNext :: MonadIO m => TrashStack -> m () Source #

trashStackNext :: AttrLabelProxy "next" Source #

trashStackReadNext :: MonadIO m => TrashStack -> m (Maybe TrashStack) Source #

trashStackWriteNext :: MonadIO m => TrashStack -> Ptr TrashStack -> m () Source #