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 g_type_query() function.
- newtype TypeQuery = TypeQuery (ForeignPtr TypeQuery)
- newZeroTypeQuery :: MonadIO m => m TypeQuery
- noTypeQuery :: Maybe TypeQuery
- typeQueryClassSize :: AttrLabelProxy "classSize"
- typeQueryReadClassSize :: MonadIO m => TypeQuery -> m Word32
- typeQueryWriteClassSize :: MonadIO m => TypeQuery -> Word32 -> m ()
- typeQueryInstanceSize :: AttrLabelProxy "instanceSize"
- typeQueryReadInstanceSize :: MonadIO m => TypeQuery -> m Word32
- typeQueryWriteInstanceSize :: MonadIO m => TypeQuery -> Word32 -> m ()
- typeQueryReadType :: MonadIO m => TypeQuery -> m GType
- typeQueryType :: AttrLabelProxy "type"
- typeQueryWriteType :: MonadIO m => TypeQuery -> GType -> m ()
- typeQueryClearTypeName :: MonadIO m => TypeQuery -> m ()
- typeQueryReadTypeName :: MonadIO m => TypeQuery -> m (Maybe Text)
- typeQueryTypeName :: AttrLabelProxy "typeName"
- typeQueryWriteTypeName :: MonadIO m => TypeQuery -> CString -> m ()
Exported types
(~) AttrOpTag tag AttrSet => Constructible TypeQuery tag | |
((~) * info (ResolveTypeQueryMethod t TypeQuery), MethodInfo * info TypeQuery p) => IsLabelProxy t (TypeQuery -> p) | |
type AttributeList TypeQuery |
newZeroTypeQuery :: MonadIO m => m TypeQuery Source
Construct a TypeQuery
struct initialized to zero.
Properties
ClassSize
typeQueryClassSize :: AttrLabelProxy "classSize" Source
typeQueryReadClassSize :: MonadIO m => TypeQuery -> m Word32 Source
typeQueryWriteClassSize :: MonadIO m => TypeQuery -> Word32 -> m () Source
InstanceSize
typeQueryInstanceSize :: AttrLabelProxy "instanceSize" Source
typeQueryReadInstanceSize :: MonadIO m => TypeQuery -> m Word32 Source
typeQueryWriteInstanceSize :: MonadIO m => TypeQuery -> Word32 -> m () Source
Type
typeQueryReadType :: MonadIO m => TypeQuery -> m GType Source
typeQueryType :: AttrLabelProxy "type" Source
typeQueryWriteType :: MonadIO m => TypeQuery -> GType -> m () Source
TypeName
typeQueryClearTypeName :: MonadIO m => TypeQuery -> m () Source
typeQueryTypeName :: AttrLabelProxy "typeName" Source
typeQueryWriteTypeName :: MonadIO m => TypeQuery -> CString -> m () Source