1
0
Fork 0
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:
ttate 2002-04-04 11:29:56 +00:00
parent 556556e450
commit 5f8d02cbbc

View file

@ -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;