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 |
An opaque structure used as the base of all type instances.
Synopsis
- newtype TypeInstance = TypeInstance (ManagedPtr TypeInstance)
- newZeroTypeInstance :: MonadIO m => m TypeInstance
- noTypeInstance :: Maybe TypeInstance
- typeInstanceGetPrivate :: (HasCallStack, MonadIO m) => TypeInstance -> GType -> m (Ptr ())
Exported types
newtype TypeInstance Source #
Memory-managed wrapper type.
Instances
Eq TypeInstance Source # | |
Defined in GI.GObject.Structs.TypeInstance (==) :: TypeInstance -> TypeInstance -> Bool # (/=) :: TypeInstance -> TypeInstance -> Bool # | |
WrappedPtr TypeInstance Source # | |
Defined in GI.GObject.Structs.TypeInstance | |
tag ~ 'AttrSet => Constructible TypeInstance tag Source # | |
Defined in GI.GObject.Structs.TypeInstance new :: MonadIO m => (ManagedPtr TypeInstance -> TypeInstance) -> [AttrOp TypeInstance tag] -> m TypeInstance # |
newZeroTypeInstance :: MonadIO m => m TypeInstance Source #
Construct a TypeInstance
struct initialized to zero.
noTypeInstance :: Maybe TypeInstance Source #
A convenience alias for Nothing
:: Maybe
TypeInstance
.
Methods
Overloaded methods
getPrivate
typeInstanceGetPrivate :: (HasCallStack, MonadIO m) => TypeInstance -> GType -> m (Ptr ()) Source #
No description available in the introspection data.