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 |
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 ()
- getTestLogMsgNums :: MonadIO m => TestLogMsg -> m CLong
- setTestLogMsgNums :: MonadIO m => TestLogMsg -> CLong -> 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
WrappedPtr TestLogMsg Source # | |
Defined in GI.GLib.Structs.TestLogMsg wrappedPtrCalloc :: IO (Ptr TestLogMsg) # wrappedPtrCopy :: TestLogMsg -> IO TestLogMsg # wrappedPtrFree :: Maybe (FunPtr (Ptr TestLogMsg -> IO ())) # | |
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.
noTestLogMsg :: Maybe TestLogMsg Source #
A convenience alias for Nothing
:: Maybe
TestLogMsg
.
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 ]
nums
No description available in the introspection data.
getTestLogMsgNums :: MonadIO m => TestLogMsg -> m CLong Source #
Get the value of the “nums
” field.
When overloading is enabled, this is equivalent to
get
testLogMsg #nums
setTestLogMsgNums :: MonadIO m => TestLogMsg -> CLong -> m () Source #
Set the value of the “nums
” field.
When overloading is enabled, this is equivalent to
set
testLogMsg [ #nums:=
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 ]