| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.GObject.Structs.TypeFundamentalInfo
Description
A structure that provides information to the type system which is used specifically for managing fundamental types.
Synopsis
- newtype TypeFundamentalInfo = TypeFundamentalInfo (ManagedPtr TypeFundamentalInfo)
- newZeroTypeFundamentalInfo :: MonadIO m => m TypeFundamentalInfo
- getTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> m [TypeFundamentalFlags]
- setTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> [TypeFundamentalFlags] -> m ()
Exported types
newtype TypeFundamentalInfo Source #
Memory-managed wrapper type.
Constructors
| TypeFundamentalInfo (ManagedPtr TypeFundamentalInfo) |
Instances
| Eq TypeFundamentalInfo Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo Methods (==) :: TypeFundamentalInfo -> TypeFundamentalInfo -> Bool # (/=) :: TypeFundamentalInfo -> TypeFundamentalInfo -> Bool # | |
| BoxedPtr TypeFundamentalInfo Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo Methods boxedPtrCopy :: TypeFundamentalInfo -> IO TypeFundamentalInfo boxedPtrFree :: TypeFundamentalInfo -> IO () | |
| CallocPtr TypeFundamentalInfo Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo Methods | |
| ManagedPtrNewtype TypeFundamentalInfo Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo Methods toManagedPtr :: TypeFundamentalInfo -> ManagedPtr TypeFundamentalInfo | |
| tag ~ 'AttrSet => Constructible TypeFundamentalInfo tag Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo Methods new :: MonadIO m => (ManagedPtr TypeFundamentalInfo -> TypeFundamentalInfo) -> [AttrOp TypeFundamentalInfo tag] -> m TypeFundamentalInfo | |
newZeroTypeFundamentalInfo :: MonadIO m => m TypeFundamentalInfo Source #
Construct a TypeFundamentalInfo struct initialized to zero.
Methods
Properties
typeFlags
TypeFundamentalFlags describing the characteristics of the fundamental type
getTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> m [TypeFundamentalFlags] Source #
Get the value of the “type_flags” field.
When overloading is enabled, this is equivalent to
get typeFundamentalInfo #typeFlags
setTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> [TypeFundamentalFlags] -> m () Source #
Set the value of the “type_flags” field.
When overloading is enabled, this is equivalent to
settypeFundamentalInfo [ #typeFlags:=value ]