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

ruby-changes:31531

From: nari <ko1@a...>
Date: Sat, 9 Nov 2013 19:43:16 +0900 (JST)
Subject: [ruby-changes:31531] nari:r43610 (trunk): * internal.h: prototype declarations of gc.c collect up.

nari	2013-11-09 19:43:07 +0900 (Sat, 09 Nov 2013)

  New Revision: 43610

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

  Log:
    * internal.h: prototype declarations of gc.c collect up.

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43609)
+++ ChangeLog	(revision 43610)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov  9 19:37:40 2013  Narihiro Nakamura  <authornari@g...>
+
+	* internal.h: prototype declarations of gc.c collect up.
+
 Sat Nov  9 15:00:16 2013  Zachary Scott  <e@z...>
 
 	* io.c: [DOC] ARGF.gets may return nil [Bug #9029] patch by znz
Index: internal.h
===================================================================
--- internal.h	(revision 43609)
+++ internal.h	(revision 43610)
@@ -429,6 +429,8 @@ void Init_heap(void); https://github.com/ruby/ruby/blob/trunk/internal.h#L429
 void *ruby_mimmalloc(size_t size);
 void rb_objspace_set_event_hook(const rb_event_flag_t event);
 void rb_gc_writebarrier_remember_promoted(VALUE obj);
+size_t rb_gc_count(void);
+size_t rb_obj_memsize_of(VALUE);
 
 void *ruby_sized_xrealloc(void *ptr, size_t new_size, size_t old_size) RUBY_ATTR_ALLOC_SIZE((2));
 void ruby_sized_xfree(void *x, size_t size);
@@ -817,10 +819,6 @@ void rb_mark_generic_ivar_tbl(void); https://github.com/ruby/ruby/blob/trunk/internal.h#L819
 int rb_st_insert_id_and_value(VALUE obj, st_table *tbl, ID key, VALUE value);
 st_table *rb_st_copy(VALUE obj, struct st_table *orig_tbl);
 
-/* gc.c */
-size_t rb_gc_count(void);
-size_t rb_obj_memsize_of(VALUE);
-
 RUBY_SYMBOL_EXPORT_END
 
 #if defined(__cplusplus)

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

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