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.
- newtype WebViewSessionState = WebViewSessionState (ManagedPtr WebViewSessionState)
- noWebViewSessionState :: Maybe 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.
noWebViewSessionState :: Maybe WebViewSessionState Source #
A convenience alias for Nothing
:: Maybe
WebViewSessionState
.
Methods
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