| 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.JavascriptResult
Contents
Description
No description available in the introspection data.
Synopsis
- newtype JavascriptResult = JavascriptResult (ManagedPtr JavascriptResult)
- noJavascriptResult :: Maybe JavascriptResult
- javascriptResultGetJsValue :: (HasCallStack, MonadIO m) => JavascriptResult -> m Value
- javascriptResultRef :: (HasCallStack, MonadIO m) => JavascriptResult -> m JavascriptResult
- javascriptResultUnref :: (HasCallStack, MonadIO m) => JavascriptResult -> m ()
Exported types
newtype JavascriptResult Source #
Memory-managed wrapper type.
Constructors
| JavascriptResult (ManagedPtr JavascriptResult) |
Instances
| BoxedObject JavascriptResult Source # | |
Defined in GI.WebKit2.Structs.JavascriptResult Methods boxedType :: JavascriptResult -> IO GType # | |
noJavascriptResult :: Maybe JavascriptResult Source #
A convenience alias for Nothing :: Maybe JavascriptResult.
Methods
getJsValue
javascriptResultGetJsValue Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => JavascriptResult |
|
| -> m Value | Returns: the |
Get the Value of jsResult.
Since: 2.22
ref
Arguments
| :: (HasCallStack, MonadIO m) | |
| => JavascriptResult |
|
| -> m JavascriptResult | Returns: The passed in |
Atomically increments the reference count of jsResult by one. This
function is MT-safe and may be called from any thread.
unref
javascriptResultUnref Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => JavascriptResult |
|
| -> m () |
Atomically decrements the reference count of jsResult by one. If the
reference count drops to 0, all memory allocated by the JavascriptResult is
released. This function is MT-safe and may be called from any
thread.