diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-08-14 13:16:34 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-08-14 13:16:34 +0900 |
| commit | 7d02df3016b0c6eb3f4ee945198772cf4ebca3fa (patch) | |
| tree | af4c35ee567e9be3e2ef6ca0c34dbd10440550bc /src/etc.c | |
| parent | e74600c919cdadab1b4e605e50181f8cdafe7ab3 (diff) | |
| download | mruby-7d02df3016b0c6eb3f4ee945198772cf4ebca3fa.tar.gz mruby-7d02df3016b0c6eb3f4ee945198772cf4ebca3fa.zip | |
NaN boxing
Diffstat (limited to 'src/etc.c')
| -rw-r--r-- | src/etc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ float_id(mrb_float f) mrb_int mrb_obj_id(mrb_value obj) { - mrb_int tt = obj.tt; + mrb_int tt = mrb_type(obj); #define MakeID2(p,t) (((intptr_t)(p))^(t)) #define MakeID(p) MakeID2(p,tt) |
