| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GLib.Structs.TestLogMsg
Description
No description available in the introspection data.
Synopsis
- newtype TestLogMsg = TestLogMsg (ManagedPtr TestLogMsg)
- newZeroTestLogMsg :: MonadIO m => m TestLogMsg
- type family ResolveTestLogMsgMethod (t :: Symbol) o where ...
- data TestLogMsgFreeMethodInfo
- testLogMsgFree :: (HasCallStack, MonadIO m) => TestLogMsg -> m ()
- getTestLogMsgLogType :: MonadIO m => TestLogMsg -> m TestLogType
- setTestLogMsgLogType :: MonadIO m => TestLogMsg -> TestLogType -> m ()
- testLogMsg_logType :: AttrLabelProxy "logType"
- getTestLogMsgNNums :: MonadIO m => TestLogMsg -> m Word32
- setTestLogMsgNNums :: MonadIO m => TestLogMsg -> Word32 -> m ()
- testLogMsg_nNums :: AttrLabelProxy "nNums"
- getTestLogMsgNStrings :: MonadIO m => TestLogMsg -> m Word32
- setTestLogMsgNStrings :: MonadIO m => TestLogMsg -> Word32 -> m ()
- testLogMsg_nStrings :: AttrLabelProxy "nStrings"
- clearTestLogMsgStrings :: MonadIO m => TestLogMsg -> m ()
- getTestLogMsgStrings :: MonadIO m => TestLogMsg -> m (Maybe Text)
- setTestLogMsgStrings :: MonadIO m => TestLogMsg -> CString -> m ()
- testLogMsg_strings :: AttrLabelProxy "strings"
Exported types
newtype TestLogMsg Source #
Memory-managed wrapper type.
Constructors
| TestLogMsg (ManagedPtr TestLogMsg) |
Instances
newZeroTestLogMsg :: MonadIO m => m TestLogMsg Source #
Construct a TestLogMsg struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
type family ResolveTestLogMsgMethod (t :: Symbol) o where ... Source #
Equations
| ResolveTestLogMsgMethod "free" o = TestLogMsgFreeMethodInfo | |
| ResolveTestLogMsgMethod l o = MethodResolutionFailed l o :: Type |
free
data TestLogMsgFreeMethodInfo Source #
Instances
| (signature ~ m (), MonadIO m) => OverloadedMethod TestLogMsgFreeMethodInfo TestLogMsg signature Source # | |
Defined in GI.GLib.Structs.TestLogMsg Methods overloadedMethod :: TestLogMsg -> signature # | |
| OverloadedMethodInfo TestLogMsgFreeMethodInfo TestLogMsg Source # | |
Defined in GI.GLib.Structs.TestLogMsg Methods | |
testLogMsgFree :: (HasCallStack, MonadIO m) => TestLogMsg -> m () Source #
Internal function for gtester to free test log messages, no ABI guarantees provided.
Properties
logType
No description available in the introspection data.
getTestLogMsgLogType :: MonadIO m => TestLogMsg -> m TestLogType Source #
Get the value of the “log_type” field.
When overloading is enabled, this is equivalent to
get testLogMsg #logType
setTestLogMsgLogType :: MonadIO m => TestLogMsg -> TestLogType -> m () Source #
Set the value of the “log_type” field.
When overloading is enabled, this is equivalent to
settestLogMsg [ #logType:=value ]
testLogMsg_logType :: AttrLabelProxy "logType" Source #
nNums
No description available in the introspection data.
getTestLogMsgNNums :: MonadIO m => TestLogMsg -> m Word32 Source #
Get the value of the “n_nums” field.
When overloading is enabled, this is equivalent to
get testLogMsg #nNums
setTestLogMsgNNums :: MonadIO m => TestLogMsg -> Word32 -> m () Source #
Set the value of the “n_nums” field.
When overloading is enabled, this is equivalent to
settestLogMsg [ #nNums:=value ]
testLogMsg_nNums :: AttrLabelProxy "nNums" Source #
nStrings
No description available in the introspection data.
getTestLogMsgNStrings :: MonadIO m => TestLogMsg -> m Word32 Source #
Get the value of the “n_strings” field.
When overloading is enabled, this is equivalent to
get testLogMsg #nStrings
setTestLogMsgNStrings :: MonadIO m => TestLogMsg -> Word32 -> m () Source #
Set the value of the “n_strings” field.
When overloading is enabled, this is equivalent to
settestLogMsg [ #nStrings:=value ]
testLogMsg_nStrings :: AttrLabelProxy "nStrings" Source #
strings
No description available in the introspection data.
clearTestLogMsgStrings :: MonadIO m => TestLogMsg -> m () Source #
Set the value of the “strings” field to Nothing.
When overloading is enabled, this is equivalent to
clear #strings
getTestLogMsgStrings :: MonadIO m => TestLogMsg -> m (Maybe Text) Source #
Get the value of the “strings” field.
When overloading is enabled, this is equivalent to
get testLogMsg #strings
setTestLogMsgStrings :: MonadIO m => TestLogMsg -> CString -> m () Source #
Set the value of the “strings” field.
When overloading is enabled, this is equivalent to
settestLogMsg [ #strings:=value ]
testLogMsg_strings :: AttrLabelProxy "strings" Source #