summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-15 08:55:48 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:11 +0900
commitee111dd175f3242649d87a4600e2bad62e8e0940 (patch)
treecabfe4a193075d9110ea3608e8dc4c3bb835e280 /include
parentf0c11269977e83f2e578a32134d4b65a2cf72ec0 (diff)
downloadmruby-ee111dd175f3242649d87a4600e2bad62e8e0940.tar.gz
mruby-ee111dd175f3242649d87a4600e2bad62e8e0940.zip
Clarify the use of `MRB_64BIT` and `MRB_INT64` in `dump.c` and `load.c`.
- `MRB_64BIT`: the size of a pointer is 64 bits - `MRB_INT64`: the size of `mrb_int` is 64 bits
Diffstat (limited to 'include')
-rw-r--r--include/mruby/irep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index 64a38227c..ede6780e6 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -32,7 +32,7 @@ typedef struct mrb_pool_value {
union {
const char *str;
int32_t i32;
-#ifdef MRB_INT64
+#ifdef MRB_64BIT
int64_t i64;
#endif
mrb_float f;