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
- allocationParamsCopy :: (HasCallStack, MonadIO m) => AllocationParams -> m AllocationParams
- allocationParamsFree :: (HasCallStack, MonadIO m) => AllocationParams -> m ()
- allocationParamsInit :: (HasCallStack, MonadIO m) => AllocationParams -> m ()
- getAllocationParamsAlign :: MonadIO m => AllocationParams -> m Word64
- setAllocationParamsAlign :: MonadIO m => AllocationParams -> Word64 -> m ()
- getAllocationParamsFlags :: MonadIO m => AllocationParams -> m [MemoryFlags]
- setAllocationParamsFlags :: MonadIO m => AllocationParams -> [MemoryFlags] -> m ()
- getAllocationParamsPadding :: MonadIO m => AllocationParams -> m Word64
- setAllocationParamsPadding :: MonadIO m => AllocationParams -> Word64 -> m ()
- 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 # | |
newZeroAllocationParams :: MonadIO m => m AllocationParams Source #
Construct a AllocationParams
struct initialized to zero.
Methods
copy
:: (HasCallStack, MonadIO m) | |
=> AllocationParams |
|
-> m AllocationParams | Returns: a new # |
Create a copy of params
.
Free-function: gst_allocation_params_free
free
:: (HasCallStack, MonadIO m) | |
=> AllocationParams |
|
-> m () |
Free params
init
:: (HasCallStack, MonadIO m) | |
=> AllocationParams |
|
-> m () |
Initialize params
to its default values
Properties
align
getAllocationParamsAlign :: MonadIO m => AllocationParams -> m Word64 Source #
setAllocationParamsAlign :: MonadIO m => AllocationParams -> Word64 -> m () Source #
flags
getAllocationParamsFlags :: MonadIO m => AllocationParams -> m [MemoryFlags] Source #
setAllocationParamsFlags :: MonadIO m => AllocationParams -> [MemoryFlags] -> m () Source #
padding
getAllocationParamsPadding :: MonadIO m => AllocationParams -> m Word64 Source #
setAllocationParamsPadding :: MonadIO m => AllocationParams -> Word64 -> m () Source #
prefix
getAllocationParamsPrefix :: MonadIO m => AllocationParams -> m Word64 Source #
setAllocationParamsPrefix :: MonadIO m => AllocationParams -> Word64 -> m () Source #