Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype WebViewSessionState = WebViewSessionState (ManagedPtr WebViewSessionState)
- webViewSessionStateNew :: (HasCallStack, MonadIO m) => Bytes -> m WebViewSessionState
- webViewSessionStateRef :: (HasCallStack, MonadIO m) => WebViewSessionState -> m WebViewSessionState
- webViewSessionStateSerialize :: (HasCallStack, MonadIO m) => WebViewSessionState -> m Bytes
- webViewSessionStateUnref :: (HasCallStack, MonadIO m) => WebViewSessionState -> m ()
Exported types
newtype WebViewSessionState Source #
Memory-managed wrapper type.
Instances
Eq WebViewSessionState Source # | |
Defined in GI.WebKit2.Structs.WebViewSessionState (==) :: WebViewSessionState -> WebViewSessionState -> Bool # (/=) :: WebViewSessionState -> WebViewSessionState -> Bool # | |
GBoxed WebViewSessionState Source # | |
Defined in GI.WebKit2.Structs.WebViewSessionState | |
ManagedPtrNewtype WebViewSessionState Source # | |
TypedObject WebViewSessionState Source # | |
Defined in GI.WebKit2.Structs.WebViewSessionState | |
HasParentTypes WebViewSessionState Source # | |
Defined in GI.WebKit2.Structs.WebViewSessionState | |
IsGValue (Maybe WebViewSessionState) Source # | Convert |
Defined in GI.WebKit2.Structs.WebViewSessionState gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe WebViewSessionState -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe WebViewSessionState) # | |
type ParentTypes WebViewSessionState Source # | |
Defined in GI.WebKit2.Structs.WebViewSessionState |
Methods
Click to display all available methods, including inherited ones
new
webViewSessionStateNew Source #
:: (HasCallStack, MonadIO m) | |
=> Bytes |
|
-> m WebViewSessionState | Returns: a new |
Creates a new WebViewSessionState
from serialized data.
Since: 2.12
ref
webViewSessionStateRef Source #
:: (HasCallStack, MonadIO m) | |
=> WebViewSessionState |
|
-> m WebViewSessionState | Returns: The passed in |
Atomically increments the reference count of state
by one. This
function is MT-safe and may be called from any thread.
Since: 2.12
serialize
webViewSessionStateSerialize Source #
:: (HasCallStack, MonadIO m) | |
=> WebViewSessionState |
|
-> m Bytes | Returns: a |
Serializes a WebViewSessionState
.
Since: 2.12
unref
webViewSessionStateUnref Source #
:: (HasCallStack, MonadIO m) | |
=> WebViewSessionState |
|
-> m () |
Atomically decrements the reference count of state
by one. If the
reference count drops to 0, all memory allocated by the WebViewSessionState
is
released. This function is MT-safe and may be called from any thread.
Since: 2.12