Gio.Resource.prototype.ref
function ref(): Gio.Resource {
// Gjs wrapper for g_resource_ref()
}
Atomically increments the reference count of @array by one. This function is MT-safe and may be called from any thread.
Since 2.32
- Returns
The passed in Gio.Resource