Skip to content

Commit 41e7d0b

Browse files
committed
use bit field mrb_vtype in MRUBY_OBJECT_HEADER
1 parent af5b327 commit 41e7d0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/mruby/object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define MRUBY_OBJECT_H
99

1010
#define MRUBY_OBJECT_HEADER \
11-
enum mrb_vtype tt; \
11+
enum mrb_vtype tt:8;\
1212
unsigned int color:3;\
1313
unsigned int flags:21;\
1414
struct RClass *c;\

0 commit comments

Comments
 (0)