Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
A structure holding information for a specific type.
It is filled in by the typeQuery
function.
- newtype TypeQuery = TypeQuery (ManagedPtr TypeQuery)
- newZeroTypeQuery :: MonadIO m => m TypeQuery
- noTypeQuery :: Maybe TypeQuery
- getTypeQueryClassSize :: MonadIO m => TypeQuery -> m Word32
- setTypeQueryClassSize :: MonadIO m => TypeQuery -> Word32 -> m ()
- typeQuery_classSize :: AttrLabelProxy "classSize"
- getTypeQueryInstanceSize :: MonadIO m => TypeQuery -> m Word32
- setTypeQueryInstanceSize :: MonadIO m => TypeQuery -> Word32 -> m ()
- typeQuery_instanceSize :: AttrLabelProxy "instanceSize"
- getTypeQueryType :: MonadIO m => TypeQuery -> m GType
- setTypeQueryType :: MonadIO m => TypeQuery -> GType -> m ()
- typeQuery_type :: AttrLabelProxy "type"
- clearTypeQueryTypeName :: MonadIO m => TypeQuery -> m ()
- getTypeQueryTypeName :: MonadIO m => TypeQuery -> m (Maybe Text)
- setTypeQueryTypeName :: MonadIO m => TypeQuery -> CString -> m ()
- typeQuery_typeName :: AttrLabelProxy "typeName"
Exported types
WrappedPtr TypeQuery Source # | |
(~) AttrOpTag tag AttrSet => Constructible TypeQuery tag Source # | |
((~) * info (ResolveTypeQueryMethod t TypeQuery), MethodInfo * info TypeQuery p) => IsLabel t (TypeQuery -> p) Source # | |
((~) * info (ResolveTypeQueryMethod t TypeQuery), MethodInfo * info TypeQuery p) => IsLabelProxy t (TypeQuery -> p) Source # | |
HasAttributeList * TypeQuery Source # | |
type AttributeList TypeQuery Source # | |
newZeroTypeQuery :: MonadIO m => m TypeQuery Source #
Construct a TypeQuery
struct initialized to zero.
Properties
classSize
typeQuery_classSize :: AttrLabelProxy "classSize" Source #
instanceSize
typeQuery_instanceSize :: AttrLabelProxy "instanceSize" Source #
type
typeQuery_type :: AttrLabelProxy "type" Source #
typeName
clearTypeQueryTypeName :: MonadIO m => TypeQuery -> m () Source #
typeQuery_typeName :: AttrLabelProxy "typeName" Source #