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

ruby-changes:2354

From: ko1@a...
Date: 9 Nov 2007 11:01:26 +0900
Subject: [ruby-changes:2354] ko1 - Ruby:r13845 (trunk): * marshal.c (w_object): should be SPECIAL_CONST_P() instead of

ko1	2007-11-09 10:39:56 +0900 (Fri, 09 Nov 2007)

  New Revision: 13845

  Modified files:
    trunk/ChangeLog
    trunk/marshal.c

  Log:
    * marshal.c (w_object): should be SPECIAL_CONST_P() instead of
      IMMEDIATE_P().
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13845&r2=13844
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/marshal.c?r1=13845&r2=13844

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 13844)
+++ ChangeLog	(revision 13845)
@@ -1,3 +1,8 @@
+Fri Nov  9 10:38:13 2007  Koichi Sasada  <ko1@a...>
+
+	* marshal.c (w_object): should be SPECIAL_CONST_P() instead of
+	  IMMEDIATE_P().
+
 Fri Nov  9 10:29:21 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* eval.c (rb_invoke_method): check if invoked in function style.
Index: marshal.c
===================================================================
--- marshal.c	(revision 13844)
+++ marshal.c	(revision 13845)
@@ -525,7 +525,7 @@
     st_data_t num;
     int hasiv = 0;
 #define has_ivars(obj, ivtbl) ((ivtbl = rb_generic_ivar_table(obj)) != 0 || \
-			       (!IMMEDIATE_P(obj) && ENCODING_GET(obj)))
+			       (!SPECIAL_CONST_P(obj) && ENCODING_GET(obj)))
 
     if (limit == 0) {
 	rb_raise(rb_eArgError, "exceed depth limit");

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

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