| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| 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
- noTestLogMsg :: Maybe TestLogMsg
- testLogMsgFree :: (HasCallStack, MonadIO m) => TestLogMsg -> m ()
- getTestLogMsgLogType :: MonadIO m => TestLogMsg -> m TestLogType
- setTestLogMsgLogType :: MonadIO m => TestLogMsg -> TestLogType -> m ()
- getTestLogMsgNNums :: MonadIO m => TestLogMsg -> m Word32
- setTestLogMsgNNums :: MonadIO m => TestLogMsg -> Word32 -> m ()
- getTestLogMsgNStrings :: MonadIO m => TestLogMsg -> m Word32
- setTestLogMsgNStrings :: MonadIO m => TestLogMsg -> Word32 -> m ()
- clearTestLogMsgStrings :: MonadIO m => TestLogMsg -> m ()
- getTestLogMsgStrings :: MonadIO m => TestLogMsg -> m (Maybe Text)
- setTestLogMsgStrings :: MonadIO m => TestLogMsg -> CString -> m ()
Exported types
newtype TestLogMsg Source #
Memory-managed wrapper type.
Constructors
| TestLogMsg (ManagedPtr TestLogMsg) |
Instances
| Eq TestLogMsg Source # | |
Defined in GI.GLib.Structs.TestLogMsg | |
| WrappedPtr TestLogMsg Source # | |
Defined in GI.GLib.Structs.TestLogMsg | |
| tag ~ 'AttrSet => Constructible TestLogMsg tag Source # | |
Defined in GI.GLib.Structs.TestLogMsg Methods new :: MonadIO m => (ManagedPtr TestLogMsg -> TestLogMsg) -> [AttrOp TestLogMsg tag] -> m TestLogMsg # | |
newZeroTestLogMsg :: MonadIO m => m TestLogMsg Source #
Construct a TestLogMsg struct initialized to zero.
noTestLogMsg :: Maybe TestLogMsg Source #
A convenience alias for Nothing :: Maybe TestLogMsg.
Methods
Overloaded methods
free
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 ]
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 ]
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 ]
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 ]