git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-03-23 14:00:35 +00:00
Родитель ab284526a4
Коммит 0471422beb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -409,11 +409,11 @@ inspect_obj(VALUE obj, VALUE str, int recur)
* Time.new.inspect #=> "2008-03-08 19:43:39 +0900"
*/
extern int rb_obj_basic_to_s_p(VALUE);
static VALUE
rb_obj_inspect(VALUE obj)
{
extern int rb_obj_basic_to_s_p(VALUE);
if (TYPE(obj) == T_OBJECT && rb_obj_basic_to_s_p(obj)) {
int has_ivar = 0;
VALUE *ptr = ROBJECT_IVPTR(obj);