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 |
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.
Instances
Eq TypeFundamentalInfo Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo (==) :: TypeFundamentalInfo -> TypeFundamentalInfo -> Bool # (/=) :: TypeFundamentalInfo -> TypeFundamentalInfo -> Bool # | |
BoxedPtr TypeFundamentalInfo Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo boxedPtrCopy :: TypeFundamentalInfo -> IO TypeFundamentalInfo # boxedPtrFree :: TypeFundamentalInfo -> IO () # | |
CallocPtr TypeFundamentalInfo Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo | |
ManagedPtrNewtype TypeFundamentalInfo Source # | |
tag ~ 'AttrSet => Constructible TypeFundamentalInfo tag Source # | |
Defined in GI.GObject.Structs.TypeFundamentalInfo 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
set
typeFundamentalInfo [ #typeFlags:=
value ]