Commit 41e7d0b4 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

use bit field mrb_vtype in MRUBY_OBJECT_HEADER

parent af5b3279
......@@ -8,7 +8,7 @@
#define MRUBY_OBJECT_H
#define MRUBY_OBJECT_HEADER \
enum mrb_vtype tt; \
enum mrb_vtype tt:8;\
unsigned int color:3;\
unsigned int flags:21;\
struct RClass *c;\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment