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

ruby-changes:30329

From: charliesome <ko1@a...>
Date: Mon, 5 Aug 2013 11:52:09 +0900 (JST)
Subject: [ruby-changes:30329] charliesome:r42381 (trunk): * include/ruby/encoding.h: document which user flags are used by

charliesome	2013-08-05 11:51:58 +0900 (Mon, 05 Aug 2013)

  New Revision: 42381

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42381

  Log:
    * include/ruby/encoding.h: document which user flags are used by
      ENCODING_MASK for better greppability

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/encoding.h

Index: include/ruby/encoding.h
===================================================================
--- include/ruby/encoding.h	(revision 42380)
+++ include/ruby/encoding.h	(revision 42381)
@@ -26,7 +26,7 @@ RUBY_SYMBOL_EXPORT_BEGIN https://github.com/ruby/ruby/blob/trunk/include/ruby/encoding.h#L26
 
 #define ENCODING_INLINE_MAX 1023
 #define ENCODING_SHIFT (FL_USHIFT+10)
-#define ENCODING_MASK (((VALUE)ENCODING_INLINE_MAX)<<ENCODING_SHIFT)
+#define ENCODING_MASK (((VALUE)ENCODING_INLINE_MAX)<<ENCODING_SHIFT) /* FL_USER10|FL_USER11|FL_USER12|FL_USER13|FL_USER14|FL_USER15|FL_USER16|FL_USER17|FL_USER18|FL_USER19 */
 
 #define ENCODING_SET_INLINED(obj,i) do {\
     RBASIC(obj)->flags &= ~ENCODING_MASK;\
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42380)
+++ ChangeLog	(revision 42381)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Aug  5 11:51:00 2013  Charlie Somerville  <charliesome@r...>
+
+	* include/ruby/encoding.h: document which user flags are used by
+	  ENCODING_MASK for better greppability
+
 Mon Aug  5 10:01:00 2013  Charlie Somerville  <charliesome@r...>
 
 	* object.c (rb_class_inherited_p): allow iclasses to be tested for

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

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