diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-30 08:37:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-30 08:37:06 +0000 |
commit | 3b32735546e989557a8992063f9f1bbdcd999beb (patch) | |
tree | d50174a9d0b68736565c429eb95e715315b94229 /internal.h | |
parent | d49a61e68f1d6ffe448ec3244c63d48adc101cea (diff) |
* ext/objspace/objspace.c (ObjectSpace.count_tdata_objects):
Fix rdoc.
* ext/objspace/objspace.c (ObjectSpace.count_tdata_objects):
Change key type if the klass of a object is zero (internal object).
Read rdoc for details.
* internal.h: export rb_objspace_data_type_name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index ec61b32ae7..71c8ab6ca6 100644 --- a/internal.h +++ b/internal.h @@ -192,6 +192,7 @@ void Init_prelude(void); #pragma GCC visibility push(default) #endif VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd); +const char *rb_objspace_data_type_name(VALUE obj); #if defined __GNUC__ && __GNUC__ >= 4 #pragma GCC visibility pop #endif |