Secret.Schema.prototype.ref
function ref(): Secret.Schema {
// Gjs wrapper for secret_schema_ref()
}
Adds a reference to the Secret.Schema.
It is not normally necessary to call this function from C code, and is mainly present for the sake of bindings. If the schema was statically allocated, then this function will copy the schema.
- Returns
the referenced schema, which should be later unreferenced with Secret.Schema.prototype.unref