diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/ruby/intern.h | 1 | ||||
-rw-r--r-- | internal.h | 1 |
3 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Nov 22 17:11:26 2013 Narihiro Nakamura <authornari@gmail.com> + + * include/ruby/intern.h, internal.h: Expose rb_gc_count(). + Fri Nov 22 17:07:00 2013 Kenta Murata <mrkn@mrkn.jp> * 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 |