method.h: enum rb_method_definition_t::type
* method.h (rb_method_definition_t): define type as an enum for debugging. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e169fa9419
commit
3fa2183614
2
method.h
2
method.h
@ -151,7 +151,7 @@ enum method_optimized_type {
|
|||||||
};
|
};
|
||||||
|
|
||||||
PACKED_STRUCT_UNALIGNED(struct rb_method_definition_struct {
|
PACKED_STRUCT_UNALIGNED(struct rb_method_definition_struct {
|
||||||
unsigned int type : 4; /* method type */
|
rb_method_type_t type : 4; /* method type */
|
||||||
int alias_count : 28;
|
int alias_count : 28;
|
||||||
int complemented_count : 28;
|
int complemented_count : 28;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user