Project

General

Profile

« Previous | Next » 

Revision 5522e010

Added by Eric Wong over 10 years ago

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