summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bignum.c b/bignum.c
index 6155ec7..237ba96 100644
--- a/bignum.c
+++ b/bignum.c
@@ -1916,6 +1916,13 @@ rb_big_aref(x, y)
return INT2FIX(0);
}
+/*
+ * call-seq:
+ * big.hash => fixnum
+ *
+ * Compute a hash based on the value of _big_.
+ */
+
static VALUE
rb_big_hash(x)
VALUE x;