1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c: declare type_name() at the beggining of file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2013-07-19 13:00:23 +00:00
parent 6e3c4fd8b5
commit 79d557ffcd
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Fri Jul 19 21:59:12 2013 Koichi Sasada <ko1@atdot.net>
* gc.c: declare type_name() at the beggining of file.
Fri Jul 19 21:35:09 2013 Koichi Sasada <ko1@atdot.net>
* array.c: reduce shady operations.

1
gc.c
View file

@ -550,6 +550,7 @@ static inline void gc_prof_set_heap_info(rb_objspace_t *);
#define rgengc_report if (RGENGC_DEBUG) rgengc_report_body
static void rgengc_report_body(int level, rb_objspace_t *objspace, const char *fmt, ...);
static const char * type_name(int type, VALUE obj);
static const char *obj_type_name(VALUE obj);
#if USE_RGENGC