aboutsummaryrefslogtreecommitdiffstats
path: root/method.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-17 14:36:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-17 14:36:57 +0000
commitb64c29f1bcd30b2024f8c7e03f0642c76506eada (patch)
tree62270e8577f80425dbdbb76c6797a9511ceff26f /method.h
parent3b3154db30799a93c8a6e2afc35485a382fdc309 (diff)
downloadruby-b64c29f1bcd30b2024f8c7e03f0642c76506eada.tar.gz
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
Diffstat (limited to 'method.h')
-rw-r--r--method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/method.h b/method.h
index 57a8602566..14bbc8c001 100644
--- a/method.h
+++ b/method.h
@@ -151,7 +151,7 @@ enum method_optimized_type {
};
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 complemented_count : 28;