| 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 |
GI.Gio.Structs.OutputVector
Description
Structure used for scatter/gather data output. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.
- newtype OutputVector = OutputVector (ForeignPtr OutputVector)
- newZeroOutputVector :: MonadIO m => m OutputVector
- noOutputVector :: Maybe OutputVector
- outputVectorBuffer :: AttrLabelProxy "buffer"
- outputVectorClearBuffer :: MonadIO m => OutputVector -> m ()
- outputVectorReadBuffer :: MonadIO m => OutputVector -> m (Ptr ())
- outputVectorWriteBuffer :: MonadIO m => OutputVector -> Ptr () -> m ()
- outputVectorReadSize :: MonadIO m => OutputVector -> m Word64
- outputVectorSize :: AttrLabelProxy "size"
- outputVectorWriteSize :: MonadIO m => OutputVector -> Word64 -> m ()
Exported types
newtype OutputVector Source
Constructors
| OutputVector (ForeignPtr OutputVector) |
Instances
| WrappedPtr OutputVector | |
| (~) AttrOpTag tag AttrSet => Constructible OutputVector tag | |
| ((~) * info (ResolveOutputVectorMethod t OutputVector), MethodInfo * info OutputVector p) => IsLabelProxy t (OutputVector -> p) | |
| type AttributeList OutputVector |
newZeroOutputVector :: MonadIO m => m OutputVector Source
Construct a OutputVector struct initialized to zero.
Properties
Buffer
outputVectorBuffer :: AttrLabelProxy "buffer" Source
outputVectorClearBuffer :: MonadIO m => OutputVector -> m () Source
outputVectorReadBuffer :: MonadIO m => OutputVector -> m (Ptr ()) Source
outputVectorWriteBuffer :: MonadIO m => OutputVector -> Ptr () -> m () Source
Size
outputVectorReadSize :: MonadIO m => OutputVector -> m Word64 Source
outputVectorSize :: AttrLabelProxy "size" Source
outputVectorWriteSize :: MonadIO m => OutputVector -> Word64 -> m () Source