Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Parameters to control the allocation of memory
- newtype AllocationParams = AllocationParams (ForeignPtr AllocationParams)
- newZeroAllocationParams :: MonadIO m => m AllocationParams
- noAllocationParams :: Maybe AllocationParams
- data AllocationParamsCopyMethodInfo
- allocationParamsCopy :: MonadIO m => AllocationParams -> m AllocationParams
- data AllocationParamsFreeMethodInfo
- allocationParamsFree :: MonadIO m => AllocationParams -> m ()
- data AllocationParamsInitMethodInfo
- allocationParamsInit :: MonadIO m => AllocationParams -> m ()
- allocationParamsReadAlign :: AllocationParams -> IO Word64
- allocationParamsReadFlags :: AllocationParams -> IO [MemoryFlags]
- allocationParamsReadPadding :: AllocationParams -> IO Word64
- allocationParamsReadPrefix :: AllocationParams -> IO Word64
Exported types
newtype AllocationParams Source
BoxedObject AllocationParams Source | |
((~) * info (ResolveAllocationParamsMethod t AllocationParams), MethodInfo * info AllocationParams p) => IsLabel t (AllocationParams -> p) Source | |
((~) * info (ResolveAllocationParamsMethod t AllocationParams), MethodInfo * info AllocationParams p) => IsLabelProxy t (AllocationParams -> p) Source | |
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) AllocationParamsInitMethodInfo AllocationParams signature Source | |
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) AllocationParamsFreeMethodInfo AllocationParams signature Source | |
((~) (TYPE Lifted) signature (m AllocationParams), MonadIO m) => MethodInfo (TYPE Lifted) AllocationParamsCopyMethodInfo AllocationParams signature Source | |
newZeroAllocationParams :: MonadIO m => m AllocationParams Source
Construct a AllocationParams
struct initialized to zero.
Methods
allocationParamsCopy
data AllocationParamsCopyMethodInfo Source
((~) (TYPE Lifted) signature (m AllocationParams), MonadIO m) => MethodInfo (TYPE Lifted) AllocationParamsCopyMethodInfo AllocationParams signature Source | |
allocationParamsCopy :: MonadIO m => AllocationParams -> m AllocationParams Source
allocationParamsFree
data AllocationParamsFreeMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) AllocationParamsFreeMethodInfo AllocationParams signature Source | |
allocationParamsFree :: MonadIO m => AllocationParams -> m () Source
allocationParamsInit
data AllocationParamsInitMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) AllocationParamsInitMethodInfo AllocationParams signature Source | |
allocationParamsInit :: MonadIO m => AllocationParams -> m () Source