diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-15 06:23:05 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-15 06:23:05 +0000 |
commit | 849fb05bb1511330b13732f54b2473659d277e87 (patch) | |
tree | eb2c2d0ba803916740045e59825312b6a79a2f1d /ext/dl/dl.c | |
parent | 09f26aaba1e00f3a1d64ce759031f6e209dbdc0e (diff) | |
download | ruby-849fb05bb1511330b13732f54b2473659d277e87.tar.gz |
Add DL::DLSTACK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/dl.c')
-rw-r--r-- | ext/dl/dl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c index 0eda4926d7..cb370ae252 100644 --- a/ext/dl/dl.c +++ b/ext/dl/dl.c @@ -635,6 +635,7 @@ Init_dl() rb_define_const(rb_mDL, "MAX_ARG", INT2NUM(MAX_ARG)); rb_define_const(rb_mDL, "MAX_CBARG", INT2NUM(MAX_CBARG)); rb_define_const(rb_mDL, "MAX_CBENT", INT2NUM(MAX_CBENT)); + rb_define_const(rb_mDL, "DLSTACK", rb_tainted_str_new2(DLSTACK_METHOD)); rb_define_module_function(rb_mDL, "dlopen", rb_dl_dlopen, -1); rb_define_module_function(rb_mDL, "set_callback", rb_dl_set_callback, -1); |