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

ruby-changes:40268

From: ko1 <ko1@a...>
Date: Thu, 29 Oct 2015 17:17:46 +0900 (JST)
Subject: [ruby-changes:40268] ko1:r52349 (trunk): * internal.h: export rb_wb_(un)protected_newobj_of()

ko1	2015-10-29 17:17:32 +0900 (Thu, 29 Oct 2015)

  New Revision: 52349

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

  Log:
    * internal.h: export rb_wb_(un)protected_newobj_of()
      because some extensions include internal.h.

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52348)
+++ ChangeLog	(revision 52349)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Oct 29 17:16:40 2015  Koichi Sasada  <ko1@a...>
+
+	* internal.h: export rb_wb_(un)protected_newobj_of()
+	  because some extensions include internal.h.
+
 Thu Oct 29 16:42:19 2015  Koichi Sasada  <ko1@a...>
 
 	* gc.c (rb_imemo_new): should not pass FL_WB_PROTECTED flag.
Index: internal.h
===================================================================
--- internal.h	(revision 52348)
+++ internal.h	(revision 52349)
@@ -814,9 +814,6 @@ void ruby_sized_xfree(void *x, size_t si https://github.com/ruby/ruby/blob/trunk/internal.h#L814
 
 void rb_gc_resurrect(VALUE ptr);
 
-VALUE rb_wb_protected_newobj_of(VALUE, VALUE);
-VALUE rb_wb_unprotected_newobj_of(VALUE, VALUE);
-
 /* optimized version of NEWOBJ() */
 #undef NEWOBJF_OF
 #undef RB_NEWOBJ_OF
@@ -1324,6 +1321,9 @@ int rb_st_insert_id_and_value(VALUE obj, https://github.com/ruby/ruby/blob/trunk/internal.h#L1321
 st_table *rb_st_copy(VALUE obj, struct st_table *orig_tbl);
 
 /* gc.c (export) */
+VALUE rb_wb_protected_newobj_of(VALUE, VALUE);
+VALUE rb_wb_unprotected_newobj_of(VALUE, VALUE);
+
 size_t rb_obj_memsize_of(VALUE);
 void rb_gc_verify_internal_consistency(void);
 

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

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