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

ruby-changes:38257

From: nobu <ko1@a...>
Date: Fri, 17 Apr 2015 14:08:21 +0900 (JST)
Subject: [ruby-changes:38257] nobu:r50338 (trunk): tkutil.c: revert r48250

nobu	2015-04-17 14:07:58 +0900 (Fri, 17 Apr 2015)

  New Revision: 50338

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

  Log:
    tkutil.c: revert r48250
    
    * ext/tk/tkutil/tkutil.c (Init_tkutil): TkUtil::CallbackSubst and
      TkUtil::CallbackSubst::Info need the default allocator.
      [ruby-list:50115]

  Modified files:
    trunk/ext/tk/tkutil/tkutil.c
Index: ext/tk/tkutil/tkutil.c
===================================================================
--- ext/tk/tkutil/tkutil.c	(revision 50337)
+++ ext/tk/tkutil/tkutil.c	(revision 50338)
@@ -1778,10 +1778,10 @@ Init_tkutil(void) https://github.com/ruby/ruby/blob/trunk/ext/tk/tkutil/tkutil.c#L1778
     ID_call = rb_intern("call");
 
     /* --------------------- */
-    cCB_SUBST = rb_define_class_under(mTK, "CallbackSubst", rb_cData);
+    cCB_SUBST = rb_define_class_under(mTK, "CallbackSubst", rb_cObject);
     rb_define_singleton_method(cCB_SUBST, "inspect", cbsubst_inspect, 0);
 
-    cSUBST_INFO = rb_define_class_under(cCB_SUBST, "Info", rb_cData);
+    cSUBST_INFO = rb_define_class_under(cCB_SUBST, "Info", rb_cObject);
     rb_define_singleton_method(cSUBST_INFO, "inspect", substinfo_inspect, 0);
 
     ID_SUBST_INFO = rb_intern("SUBST_INFO");

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

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