From f29e925701471aa9a44b2d6ba38074daa3b6d33d Mon Sep 17 00:00:00 2001 From: nari Date: Fri, 22 Nov 2013 08:16:55 +0000 Subject: [PATCH] * include/ruby/intern.h, internal.h: Expose rb_gc_count(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ include/ruby/intern.h | 1 + internal.h | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 44d18d9827..c93d1804d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 22 17:11:26 2013 Narihiro Nakamura + + * include/ruby/intern.h, internal.h: Expose rb_gc_count(). + Fri Nov 22 17:07:00 2013 Kenta Murata * ext/bigdecimal/bigdecimal.gemspec: version 1.2.2. diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 443071414c..4ee6b0969b 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -485,6 +485,7 @@ VALUE rb_gc_start(void); DEPRECATED(void rb_gc_set_params(void)); VALUE rb_define_finalizer(VALUE, VALUE); VALUE rb_undefine_finalizer(VALUE); +size_t rb_gc_count(void); /* hash.c */ void st_foreach_safe(struct st_table *, int (*)(ANYARGS), st_data_t); VALUE rb_check_hash_type(VALUE); diff --git a/internal.h b/internal.h index e3eb2fe810..464266ffbb 100644 --- a/internal.h +++ b/internal.h @@ -835,7 +835,6 @@ 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