Gck.Slot.prototype.hash
function hash(): Number(guint) {
// Gjs wrapper for gck_slot_hash()
}
Create a hash value for the GckSlot.
This function is intended for easily hashing a GckSlot to add to a GHashTable or similar data structure.
- Returns
An integer that can be used as a hash value, or 0 if invalid.