Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
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
- noTypeFundamentalInfo :: Maybe TypeFundamentalInfo
- getTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> m [TypeFundamentalFlags]
- setTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> [TypeFundamentalFlags] -> m ()
Exported types
newtype TypeFundamentalInfo Source #
Memory-managed wrapper type.
Instances
WrappedPtr 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.
noTypeFundamentalInfo :: Maybe TypeFundamentalInfo Source #
A convenience alias for Nothing
:: Maybe
TypeFundamentalInfo
.
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 ]