[前][次][番号順一覧][スレッド一覧]

ruby-changes:47496

From: nobu <ko1@a...>
Date: Thu, 17 Aug 2017 23:37:02 +0900 (JST)
Subject: [ruby-changes:47496] nobu:r59612 (trunk): method.h: enum rb_method_definition_t::type

nobu	2017-08-17 23:36:57 +0900 (Thu, 17 Aug 2017)

  New Revision: 59612

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59612

  Log:
    method.h: enum rb_method_definition_t::type
    
    * method.h (rb_method_definition_t): define type as an enum for
      debugging.

  Modified files:
    trunk/method.h
Index: method.h
===================================================================
--- method.h	(revision 59611)
+++ method.h	(revision 59612)
@@ -151,7 +151,7 @@ enum method_optimized_type { https://github.com/ruby/ruby/blob/trunk/method.h#L151
 };
 
 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;
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]