Class
JavaScriptCoreWeakValue
unstable since: 6.0
Description [src]
final class JavaScriptCore.WeakValue : GObject.Object
{
/* No available fields */
}
JSCWeakValue represents a weak reference to a value in a JSCContext
. It can be used
to keep a reference to a JavaScript value without protecting it from being garbage
collected and without referencing the JSCContext
either.
Available since: 6.0
Constructors
jsc_weak_value_new
Create a new JSCWeakValue
for the JavaScript value referenced by value
.
unstable since: 6.0
Instance methods
jsc_weak_value_get_value
Get a JSCValue
referencing the JavaScript value of weak_value
.
unstable since: 6.0
Signals
JavaScriptCore.WeakValue::cleared
This signal is emitted when the JavaScript value is destroyed.
unstable since: 6.0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
since: 2.0