diff options
author | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 10:43:07 +0000 |
---|---|---|
committer | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 10:43:07 +0000 |
commit | f0b087220c0e7622a29615b25f2f82a6cbacba34 (patch) | |
tree | e49983126962cb8988983fd8a6eb88562537ea7a | |
parent | ae6f7929bdd0956019657e14c7e873e5ed5e4d4a (diff) | |
download | ruby-f0b087220c0e7622a29615b25f2f82a6cbacba34.tar.gz |
* internal.h: prototype declarations of gc.c collect up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | internal.h | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,7 @@ +Sat Nov 9 19:37:40 2013 Narihiro Nakamura <authornari@gmail.com> + + * internal.h: prototype declarations of gc.c collect up. + Sat Nov 9 15:00:16 2013 Zachary Scott <e@zzak.io> * io.c: [DOC] ARGF.gets may return nil [Bug #9029] patch by znz diff --git a/internal.h b/internal.h index e7ecbbeda4..f4e8bb3c08 100644 --- a/internal.h +++ b/internal.h @@ -429,6 +429,8 @@ void Init_heap(void); 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); 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) |