diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-15 18:11:05 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-15 18:11:05 +0000 |
commit | 5522e010e55a3bdeaed400ffca675e3a8e468257 (patch) | |
tree | 8724624d8faa6bbd372f1ef823fa8ae603640a8b /gem_prelude.rb | |
parent | 66a36e9b13e3e7eee3ecc4f844be72416d1863cf (diff) |
thread.c (thread_initialize): avoid RSTRING_PTR and NUMT2INT
Favor passing VALUE args as-is and using PRisVALUE in format strings
to prevent premature GC. In this case, we are not fixing any real
bug because location path has other references, but this makes code
easier-to-review.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gem_prelude.rb')
0 files changed, 0 insertions, 0 deletions