diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-28 10:35:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-28 10:35:28 +0000 |
commit | e47da4ddf3d39be0d6d9470dddac265222767cbb (patch) | |
tree | 4dc3ad2b21dbe6709cd088d5ec964c6a1aea1320 | |
parent | 46bfa65fccf58cee280bf552193f93388b00d16d (diff) |
method.h: BITFIELD in rb_method_definition_t
* method.h (rb_method_definition_struct): use BITFIELD for
rb_method_type_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | method.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -153,7 +153,7 @@ enum method_optimized_type { }; PACKED_STRUCT_UNALIGNED(struct rb_method_definition_struct { - unsigned int type : 4; /* method type */ + BITFIELD(rb_method_type_t) type : 4; int alias_count : 28; int complemented_count : 28; |