diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-04 11:29:56 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-04 11:29:56 +0000 |
commit | 5f8d02cbbc1686390d6965adfa12100ddd586109 (patch) | |
tree | e96a4ff37c51410cc427b23c4df01960c25bbe93 /ext/dl | |
parent | 556556e450b2864c07c22ffa0370262c76d8ff1c (diff) | |
download | ruby-5f8d02cbbc1686390d6965adfa12100ddd586109.tar.gz |
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
Diffstat (limited to 'ext/dl')
-rw-r--r-- | ext/dl/sym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/sym.c b/ext/dl/sym.c index aab581b543..137b47525a 100644 --- a/ext/dl/sym.c +++ b/ext/dl/sym.c @@ -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; |