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

ruby-changes:28645

From: eregon <ko1@a...>
Date: Mon, 13 May 2013 23:41:20 +0900 (JST)
Subject: [ruby-changes:28645] eregon:r40697 (trunk): * include/ruby/ruby.h: fix a typo

eregon	2013-05-13 23:41:08 +0900 (Mon, 13 May 2013)

  New Revision: 40697

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

  Log:
    * include/ruby/ruby.h: fix a typo

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

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 40696)
+++ include/ruby/ruby.h	(revision 40697)
@@ -670,7 +670,7 @@ VALUE rb_newobj_of(VALUE, VALUE); https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L670
 VALUE rb_obj_setup(VALUE obj, VALUE klass, VALUE type);
 #define NEWOBJ(obj,type) type *(obj) = (type*)rb_newobj()
 #define NEWOBJ_OF(obj,type,klass,flags) type *(obj) = (type*)rb_newobj_of(klass, flags)
-#define OBJSETUP(obj,c,t) rb_obj_setup(obj, c, t) /* use NEWOBJ_OF instead of NEWOBJ()+OBJSTUP() */
+#define OBJSETUP(obj,c,t) rb_obj_setup(obj, c, t) /* use NEWOBJ_OF instead of NEWOBJ()+OBJSETUP() */
 #define CLONESETUP(clone,obj) do {\
     OBJSETUP((clone),rb_singleton_class_clone((VALUE)(obj)),RBASIC(obj)->flags);\
     rb_singleton_class_attached(RBASIC(clone)->klass, (VALUE)(clone));\

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

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