diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-14 13:26:37 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-14 13:26:37 +0000 |
commit | 7b348341d6be168a55efefbbc47ba233fc876d6d (patch) | |
tree | 9fd053d3019a8dd05e441720547529264c528776 /ext | |
parent | 45270d20ed715a80314c5622331d580bf26bfcc2 (diff) |
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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/objspace/object_tracing.c | 2 |
1 files changed, 1 insertions, 1 deletions
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+. * |