| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.WebKit2.Structs.WebViewSessionState
Description
No description available in the introspection data.
Synopsis
- 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.
Constructors
| WebViewSessionState (ManagedPtr WebViewSessionState) |
Instances
| BoxedObject WebViewSessionState Source # | |
Defined in GI.WebKit2.Structs.WebViewSessionState Methods boxedType :: WebViewSessionState -> IO GType # | |
noWebViewSessionState :: Maybe WebViewSessionState Source #
A convenience alias for Nothing :: Maybe WebViewSessionState.
Methods
new
webViewSessionStateNew Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Bytes |
|
| -> m WebViewSessionState | Returns: a new |
Creates a new WebViewSessionState from serialized data.
Since: 2.12
ref
webViewSessionStateRef Source #
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WebViewSessionState |
|
| -> m Bytes | Returns: a |
Serializes a WebViewSessionState.
Since: 2.12
unref
webViewSessionStateUnref Source #
Arguments
| :: (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