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 |
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.
Instances
BoxedObject ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext boxedType :: ParseContext -> IO GType # |
noParseContext :: Maybe ParseContext Source #
A convenience alias for Nothing
:: Maybe
ParseContext
.
Methods
copy
:: (HasCallStack, MonadIO m) | |
=> ParseContext |
|
-> m (Maybe ParseContext) | Returns: A copied |
Copies the context
.
free
:: (HasCallStack, MonadIO m) | |
=> ParseContext |
|
-> m () |
Frees a parse context previously allocated with parseContextNew
.
getMissingElements
parseContextGetMissingElements Source #
:: (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
:: (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