| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
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.
Constructors
| AllocationInfo | |
Fields | |
Instances
| Show AllocationInfo Source # | |
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
| Show AllocationOp Source # | |
Defined in Data.GI.GIR.Allocation Methods showsPrec :: Int -> AllocationOp -> ShowS # show :: AllocationOp -> String # showList :: [AllocationOp] -> ShowS # | |
| Eq AllocationOp Source # | |
Defined in Data.GI.GIR.Allocation | |
unknownAllocationInfo :: AllocationInfo Source #
A convenience function, filling in all the allocation info to unknown.