summaryrefslogtreecommitdiffhomepage
path: root/src/kernel.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-08-03 12:56:34 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-08-03 13:00:10 +0900
commit23e7cb41e5b4b023edfa2a018545b8f09069533c (patch)
tree85c4ea2ebc36e81abd8b07e007da616f11cb8258 /src/kernel.c
parent019b006ee52fd0bd7786b0f42646e21e5f369e40 (diff)
downloadmruby-23e7cb41e5b4b023edfa2a018545b8f09069533c.tar.gz
mruby-23e7cb41e5b4b023edfa2a018545b8f09069533c.zip
Replace `fixnum` references with `int`.
The `Fixnum` class is no longer provided by `mruby`.
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel.c b/src/kernel.c
index 4dcf6261b..812229ba7 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -84,8 +84,8 @@ mrb_equal_m(mrb_state *mrb, mrb_value self)
* Document-method: object_id
*
* call-seq:
- * obj.__id__ -> fixnum
- * obj.object_id -> fixnum
+ * obj.__id__ -> int
+ * obj.object_id -> int
*
* Returns an integer identifier for <i>obj</i>. The same number will
* be returned on all calls to <code>id</code> for a given object, and
@@ -293,7 +293,7 @@ mrb_obj_frozen(mrb_state *mrb, mrb_value self)
/* 15.3.1.3.15 */
/*
* call-seq:
- * obj.hash -> fixnum
+ * obj.hash -> int
*
* Generates a <code>Integer</code> hash value for this object. This
* function must have the property that <code>a.eql?(b)</code> implies