mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
556556e450
commit
5f8d02cbbc
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ rb_dlsym_call(int argc, VALUE argv[], VALUE self)
|
|||
if( TYPE(argv[i]) != T_STRING ){
|
||||
raise(rb_eDLError, "#%d must be a string",i);
|
||||
};
|
||||
ANY2S(args[i]) = DLSTR(argv[i]);
|
||||
ANY2S(args[i]) = DLSTR(RSTRING(argv[i])->ptr);
|
||||
};
|
||||
PUSH_P(ftype);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue