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 |
No description available in the introspection data.
Synopsis
- newtype TestLogMsg = TestLogMsg (ManagedPtr TestLogMsg)
- newZeroTestLogMsg :: MonadIO m => m 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.
Instances
Eq TestLogMsg Source # | |
Defined in GI.GLib.Structs.TestLogMsg (==) :: TestLogMsg -> TestLogMsg -> Bool # (/=) :: TestLogMsg -> TestLogMsg -> Bool # | |
ManagedPtrNewtype TestLogMsg Source # | |
Defined in GI.GLib.Structs.TestLogMsg | |
BoxedPtr TestLogMsg Source # | |
Defined in GI.GLib.Structs.TestLogMsg boxedPtrCopy :: TestLogMsg -> IO TestLogMsg # boxedPtrFree :: TestLogMsg -> IO () # | |
CallocPtr TestLogMsg Source # | |
Defined in GI.GLib.Structs.TestLogMsg boxedPtrCalloc :: IO (Ptr TestLogMsg) # | |
tag ~ 'AttrSet => Constructible TestLogMsg tag Source # | |
Defined in GI.GLib.Structs.TestLogMsg new :: MonadIO m => (ManagedPtr TestLogMsg -> TestLogMsg) -> [AttrOp TestLogMsg tag] -> m TestLogMsg # |
newZeroTestLogMsg :: MonadIO m => m TestLogMsg Source #
Construct a TestLogMsg
struct initialized to zero.
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
set
testLogMsg [ #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
set
testLogMsg [ #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
set
testLogMsg [ #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
set
testLogMsg [ #strings:=
value ]