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 |
An opaque structure used as the base of all type instances.
Synopsis
- newtype TypeInstance = TypeInstance (ManagedPtr TypeInstance)
- newZeroTypeInstance :: MonadIO m => m 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 # | |
BoxedPtr TypeInstance Source # | |
Defined in GI.GObject.Structs.TypeInstance boxedPtrCopy :: TypeInstance -> IO TypeInstance # boxedPtrFree :: TypeInstance -> IO () # | |
CallocPtr TypeInstance Source # | |
Defined in GI.GObject.Structs.TypeInstance boxedPtrCalloc :: IO (Ptr TypeInstance) # | |
ManagedPtrNewtype 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.
Methods
Click to display all available methods, including inherited ones
getPrivate
typeInstanceGetPrivate :: (HasCallStack, MonadIO m) => TypeInstance -> GType -> m (Ptr ()) Source #
No description available in the introspection data.