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 |
Opaque structure.
- newtype ParseContext = ParseContext (ManagedPtr ParseContext)
- noParseContext :: Maybe ParseContext
- parseContextCopy :: (HasCallStack, MonadIO m) => ParseContext -> m ParseContext
- parseContextFree :: (HasCallStack, MonadIO m) => ParseContext -> m ()
- parseContextGetMissingElements :: (HasCallStack, MonadIO m) => ParseContext -> m [Text]
- parseContextNew :: (HasCallStack, MonadIO m) => m ParseContext
Exported types
newtype ParseContext Source #
Methods
copy
:: (HasCallStack, MonadIO m) | |
=> ParseContext |
|
-> m 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 [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 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