summaryrefslogtreecommitdiff
path: root/ext/dl/dl.c
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-04 13:49:13 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-04 13:49:13 +0000
commit45a08a4296b57df13190cb9065ee44974f44c7ce (patch)
tree29fe0a2bb1690ae0a205c790809ec1867714862a /ext/dl/dl.c
parent14859cdf948e6f9ebbb272867f9969fe95c91faa (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c
index 073d8180d2c..aad04f5a577 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