haskell-gi-0.24.0: Generate Haskell bindings for GObject Introspection capable libraries
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.GI.GIR.Allocation

Description

Information on explicit allocation/deallocation for foreign pointers.

Synopsis

Documentation

data AllocationInfo Source #

Allocation/deallocation information for a given foreign pointer.

Instances

Instances details
Show AllocationInfo Source # 
Instance details

Defined in Data.GI.GIR.Allocation

Methods

showsPrec :: Int -> AllocationInfo -> ShowS #

show :: AllocationInfo -> String #

showList :: [AllocationInfo] -> ShowS #

data AllocationOp Source #

Information about a given allocation operation. It is either disallowed, allowed via the given function, or it is unknown at the current stage how to perform the operation.

Constructors

AllocationOpUnknown 
AllocationOp Text 

Instances

Instances details
Eq AllocationOp Source # 
Instance details

Defined in Data.GI.GIR.Allocation

Show AllocationOp Source # 
Instance details

Defined in Data.GI.GIR.Allocation

Methods

showsPrec :: Int -> AllocationOp -> ShowS #

show :: AllocationOp -> String #

showList :: [AllocationOp] -> ShowS #

unknownAllocationInfo :: AllocationInfo Source #

A convenience function, filling in all the allocation info to unknown.