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

Safe HaskellSafe
LanguageHaskell98

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 # 

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 # 

Methods

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

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

Show AllocationOp Source # 

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.