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 (ManagedPtr AllocationParams)
- newZeroAllocationParams :: MonadIO m => m AllocationParams
- noAllocationParams :: Maybe AllocationParams
- data AllocationParamsCopyMethodInfo
- allocationParamsCopy :: (HasCallStack, MonadIO m) => AllocationParams -> m AllocationParams
- data AllocationParamsFreeMethodInfo
- allocationParamsFree :: (HasCallStack, MonadIO m) => AllocationParams -> m ()
- data AllocationParamsInitMethodInfo
- allocationParamsInit :: (HasCallStack, MonadIO m) => AllocationParams -> m ()
- allocationParams_align :: AttrLabelProxy "align"
- getAllocationParamsAlign :: MonadIO m => AllocationParams -> m Word64
- setAllocationParamsAlign :: MonadIO m => AllocationParams -> Word64 -> m ()
- allocationParams_flags :: AttrLabelProxy "flags"
- getAllocationParamsFlags :: MonadIO m => AllocationParams -> m [MemoryFlags]
- setAllocationParamsFlags :: MonadIO m => AllocationParams -> [MemoryFlags] -> m ()
- allocationParams_padding :: AttrLabelProxy "padding"
- getAllocationParamsPadding :: MonadIO m => AllocationParams -> m Word64
- setAllocationParamsPadding :: MonadIO m => AllocationParams -> Word64 -> m ()
- allocationParams_prefix :: AttrLabelProxy "prefix"
- getAllocationParamsPrefix :: MonadIO m => AllocationParams -> m Word64
- setAllocationParamsPrefix :: MonadIO m => AllocationParams -> Word64 -> m ()
Exported types
newtype AllocationParams Source #
BoxedObject AllocationParams Source # | |
(~) AttrOpTag tag AttrSet => Constructible AllocationParams tag 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 # | |
HasAttributeList * AllocationParams Source # | |
((~) * signature (m ()), MonadIO m) => MethodInfo * AllocationParamsInitMethodInfo AllocationParams signature Source # | |
((~) * signature (m ()), MonadIO m) => MethodInfo * AllocationParamsFreeMethodInfo AllocationParams signature Source # | |
((~) * signature (m AllocationParams), MonadIO m) => MethodInfo * AllocationParamsCopyMethodInfo AllocationParams signature Source # | |
type AttributeList AllocationParams Source # | |
newZeroAllocationParams :: MonadIO m => m AllocationParams Source #
Construct a AllocationParams
struct initialized to zero.
Methods
copy
data AllocationParamsCopyMethodInfo Source #
((~) * signature (m AllocationParams), MonadIO m) => MethodInfo * AllocationParamsCopyMethodInfo AllocationParams signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> AllocationParams |
|
-> m AllocationParams | Returns: a new # |
Create a copy of params
.
Free-function: gst_allocation_params_free
free
data AllocationParamsFreeMethodInfo Source #
((~) * signature (m ()), MonadIO m) => MethodInfo * AllocationParamsFreeMethodInfo AllocationParams signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> AllocationParams |
|
-> m () |
Free params
init
data AllocationParamsInitMethodInfo Source #
((~) * signature (m ()), MonadIO m) => MethodInfo * AllocationParamsInitMethodInfo AllocationParams signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> AllocationParams |
|
-> m () |
Initialize params
to its default values
Properties
align
allocationParams_align :: AttrLabelProxy "align" Source #
getAllocationParamsAlign :: MonadIO m => AllocationParams -> m Word64 Source #
setAllocationParamsAlign :: MonadIO m => AllocationParams -> Word64 -> m () Source #
flags
allocationParams_flags :: AttrLabelProxy "flags" Source #
getAllocationParamsFlags :: MonadIO m => AllocationParams -> m [MemoryFlags] Source #
setAllocationParamsFlags :: MonadIO m => AllocationParams -> [MemoryFlags] -> m () Source #
padding
allocationParams_padding :: AttrLabelProxy "padding" Source #
getAllocationParamsPadding :: MonadIO m => AllocationParams -> m Word64 Source #
setAllocationParamsPadding :: MonadIO m => AllocationParams -> Word64 -> m () Source #
prefix
allocationParams_prefix :: AttrLabelProxy "prefix" Source #
getAllocationParamsPrefix :: MonadIO m => AllocationParams -> m Word64 Source #
setAllocationParamsPrefix :: MonadIO m => AllocationParams -> Word64 -> m () Source #