diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-04 13:49:13 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-04 13:49:13 +0000 |
commit | 45a08a4296b57df13190cb9065ee44974f44c7ce (patch) | |
tree | 29fe0a2bb1690ae0a205c790809ec1867714862a /ext/dl/dl.c | |
parent | 14859cdf948e6f9ebbb272867f9969fe95c91faa (diff) | |
download | ruby-45a08a4296b57df13190cb9065ee44974f44c7ce.tar.gz |
Conform to the allocation framework.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/dl.c')
-rw-r--r-- | ext/dl/dl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c index 073d8180d2..aad04f5a57 100644 --- a/ext/dl/dl.c +++ b/ext/dl/dl.c @@ -538,7 +538,7 @@ rb_io_to_ptr(VALUE self) VALUE rb_dl_dlopen(int argc, VALUE argv[], VALUE self) { - return rb_dlhandle_s_new(argc, argv, rb_cDLHandle); + return rb_class_new_instance(argc, argv, rb_cDLHandle); } VALUE |