haskell-gi-0.23.0: Generate Haskell bindings for GObject Introspection capable libraries

Safe HaskellSafe
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
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
Eq AllocationOp Source # 
Instance details

Defined in Data.GI.GIR.Allocation

Methods

(==) :: AllocationOp -> AllocationOp -> Bool

(/=) :: AllocationOp -> AllocationOp -> Bool

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.