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
- paramSpecTypeInfoReadInstanceSize :: ParamSpecTypeInfo -> IO Word16
- paramSpecTypeInfoReadNPreallocs :: ParamSpecTypeInfo -> IO Word16
- paramSpecTypeInfoReadValueType :: ParamSpecTypeInfo -> IO GType
Exported types
newtype ParamSpecTypeInfo Source
((~) * info (ResolveParamSpecTypeInfoMethod t ParamSpecTypeInfo), MethodInfo * info ParamSpecTypeInfo p) => IsLabel t (ParamSpecTypeInfo -> p) Source | |
((~) * info (ResolveParamSpecTypeInfoMethod t ParamSpecTypeInfo), MethodInfo * info ParamSpecTypeInfo p) => IsLabelProxy t (ParamSpecTypeInfo -> p) Source | |
newZeroParamSpecTypeInfo :: MonadIO m => m ParamSpecTypeInfo Source
Construct a ParamSpecTypeInfo
struct initialized to zero.