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 |
GI.GLib.Structs.TestLogMsg
Description
- newtype TestLogMsg = TestLogMsg (ManagedPtr TestLogMsg)
- newZeroTestLogMsg :: MonadIO m => m TestLogMsg
- noTestLogMsg :: Maybe TestLogMsg
- 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"
- getTestLogMsgNums :: MonadIO m => TestLogMsg -> m CLong
- setTestLogMsgNums :: MonadIO m => TestLogMsg -> CLong -> m ()
- testLogMsg_nums :: AttrLabelProxy "nums"
- 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 #
Constructors
TestLogMsg (ManagedPtr TestLogMsg) |
Instances
WrappedPtr TestLogMsg # | |
(~) AttrOpTag tag AttrSet => Constructible TestLogMsg tag # | |
((~) * info (ResolveTestLogMsgMethod t TestLogMsg), MethodInfo * info TestLogMsg p) => IsLabel t (TestLogMsg -> p) # | |
((~) * info (ResolveTestLogMsgMethod t TestLogMsg), MethodInfo * info TestLogMsg p) => IsLabelProxy t (TestLogMsg -> p) # | |
HasAttributeList * TestLogMsg # | |
((~) * signature (m ()), MonadIO m) => MethodInfo * TestLogMsgFreeMethodInfo TestLogMsg signature # | |
type AttributeList TestLogMsg # | |
newZeroTestLogMsg :: MonadIO m => m TestLogMsg #
Construct a TestLogMsg
struct initialized to zero.
Methods
free
data TestLogMsgFreeMethodInfo #
Instances
((~) * signature (m ()), MonadIO m) => MethodInfo * TestLogMsgFreeMethodInfo TestLogMsg signature # | |
testLogMsgFree :: (HasCallStack, MonadIO m) => TestLogMsg -> m () #
Internal function for gtester to free test log messages, no ABI guarantees provided.
Properties
logType
getTestLogMsgLogType :: MonadIO m => TestLogMsg -> m TestLogType #
setTestLogMsgLogType :: MonadIO m => TestLogMsg -> TestLogType -> m () #
testLogMsg_logType :: AttrLabelProxy "logType" #
nNums
getTestLogMsgNNums :: MonadIO m => TestLogMsg -> m Word32 #
setTestLogMsgNNums :: MonadIO m => TestLogMsg -> Word32 -> m () #
testLogMsg_nNums :: AttrLabelProxy "nNums" #
nStrings
getTestLogMsgNStrings :: MonadIO m => TestLogMsg -> m Word32 #
setTestLogMsgNStrings :: MonadIO m => TestLogMsg -> Word32 -> m () #
testLogMsg_nStrings :: AttrLabelProxy "nStrings" #
nums
getTestLogMsgNums :: MonadIO m => TestLogMsg -> m CLong #
setTestLogMsgNums :: MonadIO m => TestLogMsg -> CLong -> m () #
testLogMsg_nums :: AttrLabelProxy "nums" #
strings
clearTestLogMsgStrings :: MonadIO m => TestLogMsg -> m () #
getTestLogMsgStrings :: MonadIO m => TestLogMsg -> m (Maybe Text) #
setTestLogMsgStrings :: MonadIO m => TestLogMsg -> CString -> m () #
testLogMsg_strings :: AttrLabelProxy "strings" #