From 7b348341d6be168a55efefbbc47ba233fc876d6d Mon Sep 17 00:00:00 2001 From: yui-knk Date: Mon, 14 Aug 2017 13:26:37 +0000 Subject: Fix a class of a returned value * ext/objspace/object_tracing.c (allocation_sourceline): Fix a class of a returned value. allocation_sourceline returns an integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/objspace/object_tracing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c index d3169c6c48..611d059b9e 100644 --- a/ext/objspace/object_tracing.c +++ b/ext/objspace/object_tracing.c @@ -356,7 +356,7 @@ allocation_sourcefile(VALUE self, VALUE obj) } /* - * call-seq: allocation_sourceline(object) -> string + * call-seq: allocation_sourceline(object) -> integer * * Returns the original line from source for from the given +object+. * -- cgit v1.2.3