summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-08-18 19:02:50 +0900
committerYukihiro Matsumoto <[email protected]>2012-08-18 19:02:50 +0900
commit41e7d0b475e1a89d50775309702677e88ca89a7f (patch)
tree63cf97f921411211fbdab511925cea462ba30c1c /include
parentaf5b3279ace5f811c8813a346450fe3780278bca (diff)
downloadmruby-41e7d0b475e1a89d50775309702677e88ca89a7f.tar.gz
mruby-41e7d0b475e1a89d50775309702677e88ca89a7f.zip
use bit field mrb_vtype in MRUBY_OBJECT_HEADER
Diffstat (limited to 'include')
-rw-r--r--include/mruby/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/object.h b/include/mruby/object.h
index 3b4437c65..8d35b7c5c 100644
--- a/include/mruby/object.h
+++ b/include/mruby/object.h
@@ -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;\