Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Opaque structure.
Synopsis
- newtype ParseContext = ParseContext (ManagedPtr 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.
ParseContext (ManagedPtr ParseContext) |
Instances
Eq ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext (==) :: ParseContext -> ParseContext -> Bool (/=) :: ParseContext -> ParseContext -> Bool | |
GBoxed ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext | |
ManagedPtrNewtype ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext toManagedPtr :: ParseContext -> ManagedPtr ParseContext | |
TypedObject ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext glibType :: IO GType | |
IsGValue ParseContext Source # | Convert |
Defined in GI.Gst.Structs.ParseContext toGValue :: ParseContext -> IO GValue fromGValue :: GValue -> IO ParseContext | |
HasParentTypes ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext | |
type ParentTypes ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext type ParentTypes ParseContext = '[] :: [Type] |
Methods
Overloaded 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