Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
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 | |
HasParentTypes ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext | |
IsGValue (Maybe ParseContext) Source # | Convert |
Defined in GI.Gst.Structs.ParseContext gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ParseContext -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ParseContext) | |
type ParentTypes ParseContext Source # | |
Defined in GI.Gst.Structs.ParseContext |
Methods
Click to display all available methods, including inherited ones
copy
:: (HasCallStack, MonadIO m) | |
=> ParseContext |
|
-> m (Maybe ParseContext) | Returns: A copied |
Copies the context
.
Since: 1.12.1
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