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

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
This commit is contained in:
yui-knk 2017-08-14 13:26:37 +00:00
parent 45270d20ed
commit 7b348341d6

View file

@ -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+.
*