| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gst.Structs.ParseContext
Description
Opaque structure.
Synopsis
- newtype ParseContext = ParseContext (ManagedPtr ParseContext)
- noParseContext :: Maybe ParseContext
- parseContextCopy :: (HasCallStack, MonadIO m) => ParseContext -> m (Maybe ParseContext)
- parseContextFree :: (HasCallStack, MonadIO m) => ParseContext -> m ()
- parseContextGetMissingElements :: (HasCallStack, MonadIO m) => ParseContext -> m (Maybe [Text])
- parseContextNew :: (HasCallStack, MonadIO m) => m (Maybe ParseContext)
Exported types
newtype ParseContext Source #
Memory-managed wrapper type.
Constructors
| ParseContext (ManagedPtr ParseContext) |
Instances
| BoxedObject ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext Methods boxedType :: ParseContext -> IO GType # | |
noParseContext :: Maybe ParseContext Source #
A convenience alias for Nothing :: Maybe ParseContext.
Methods
copy
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ParseContext |
|
| -> m (Maybe ParseContext) | Returns: A copied |
Copies the context.
free
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ParseContext |
|
| -> m () |
Frees a parse context previously allocated with parseContextNew.
getMissingElements
parseContextGetMissingElements Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ParseContext |
|
| -> m (Maybe [Text]) | Returns: a
|
Retrieve missing elements from a previous run of parseLaunchFull
or parseLaunchvFull. Will only return results if an error code
of ParseErrorNoSuchElement was returned.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m (Maybe ParseContext) | Returns: a newly-allocated parse context. Free
with |
Allocates a parse context for use with parseLaunchFull or
parseLaunchvFull.
Free-function: gst_parse_context_free