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
1 changed files with 1 additions and 1 deletions

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;