/* * call-seq: * query.hash -> number * * Return a hash value for the query. This is used for caching query results * in a hash object. */ static VALUE frb_q_hash(VALUE self) { GET_Q(); return INT2FIX(q->hash(q)); }