gi-webkit2-4.0.28: WebKit2 bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Structs.JavascriptResult

Description

No description available in the introspection data.

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

ref, unref.

Getters

getJsValue.

Setters

None.

getJsValue

javascriptResultGetJsValue Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> JavascriptResult

jsResult: a JavascriptResult

-> m Value

Returns: the Value of the JavascriptResult

Get the Value of jsResult.

Since: 2.22

ref

javascriptResultRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> JavascriptResult

jsResult: a JavascriptResult

-> m JavascriptResult

Returns: The passed in JavascriptResult

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

jsResult: a 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.