WebKit2.UserScript.prototype.ref
function ref(): WebKit2.UserScript {
// Gjs wrapper for webkit_user_script_ref()
}
Atomically increments the reference count of user_script by one. This function is MT-safe and may be called from any thread.
Since 2.6
- Returns
The passed WebKit2.UserScript