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 |
This structure is used to provide the type system with the information required to initialize and destruct (finalize) a parameter's class and instances thereof. The initialized structure is passed to the g_param_type_register_static() The type system will perform a deep copy of this structure, so its memory does not need to be persistent across invocation of g_param_type_register_static().
- newtype ParamSpecTypeInfo = ParamSpecTypeInfo (ForeignPtr ParamSpecTypeInfo)
- newZeroParamSpecTypeInfo :: MonadIO m => m ParamSpecTypeInfo
- noParamSpecTypeInfo :: Maybe ParamSpecTypeInfo
- paramSpecTypeInfoInstanceSize :: AttrLabelProxy "instanceSize"
- paramSpecTypeInfoReadInstanceSize :: MonadIO m => ParamSpecTypeInfo -> m Word16
- paramSpecTypeInfoWriteInstanceSize :: MonadIO m => ParamSpecTypeInfo -> Word16 -> m ()
- paramSpecTypeInfoNPreallocs :: AttrLabelProxy "nPreallocs"
- paramSpecTypeInfoReadNPreallocs :: MonadIO m => ParamSpecTypeInfo -> m Word16
- paramSpecTypeInfoWriteNPreallocs :: MonadIO m => ParamSpecTypeInfo -> Word16 -> m ()
- paramSpecTypeInfoReadValueType :: MonadIO m => ParamSpecTypeInfo -> m GType
- paramSpecTypeInfoValueType :: AttrLabelProxy "valueType"
- paramSpecTypeInfoWriteValueType :: MonadIO m => ParamSpecTypeInfo -> GType -> m ()
Exported types
newtype ParamSpecTypeInfo Source
(~) AttrOpTag tag AttrSet => Constructible ParamSpecTypeInfo tag | |
((~) * info (ResolveParamSpecTypeInfoMethod t ParamSpecTypeInfo), MethodInfo * info ParamSpecTypeInfo p) => IsLabelProxy t (ParamSpecTypeInfo -> p) | |
type AttributeList ParamSpecTypeInfo |
newZeroParamSpecTypeInfo :: MonadIO m => m ParamSpecTypeInfo Source
Construct a ParamSpecTypeInfo
struct initialized to zero.
Properties
InstanceSize
paramSpecTypeInfoInstanceSize :: AttrLabelProxy "instanceSize" Source
paramSpecTypeInfoWriteInstanceSize :: MonadIO m => ParamSpecTypeInfo -> Word16 -> m () Source
NPreallocs
paramSpecTypeInfoNPreallocs :: AttrLabelProxy "nPreallocs" Source
paramSpecTypeInfoReadNPreallocs :: MonadIO m => ParamSpecTypeInfo -> m Word16 Source
paramSpecTypeInfoWriteNPreallocs :: MonadIO m => ParamSpecTypeInfo -> Word16 -> m () Source
ValueType
paramSpecTypeInfoReadValueType :: MonadIO m => ParamSpecTypeInfo -> m GType Source
paramSpecTypeInfoValueType :: AttrLabelProxy "valueType" Source
paramSpecTypeInfoWriteValueType :: MonadIO m => ParamSpecTypeInfo -> GType -> m () Source