diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-02 02:01:48 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-02 02:01:48 +0000 |
| commit | 61c490b82653bb9f3458b56a26806846696b59f0 (patch) | |
| tree | 72abc033de81c810b9f1b0db6910f815c9ed7119 /ruby.c | |
| parent | 14760f7beff6a1f281f2c5a8bedd8048ad0f8e9a (diff) | |
| download | ruby-61c490b82653bb9f3458b56a26806846696b59f0.tar.gz ruby-61c490b82653bb9f3458b56a26806846696b59f0.tar.xz ruby-61c490b82653bb9f3458b56a26806846696b59f0.zip | |
* ext/dl/dl.h (dlerror): fixed on Windows.
* ext/dl/handle.c (rb_dlhandle_initialize): returns handle to
libruby if nil is given on Windows as dlopen.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
| -rw-r--r-- | ruby.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -325,6 +325,12 @@ DllMain(HINSTANCE dll, DWORD reason, LPVOID reserved) libruby = dll; return TRUE; } + +HANDLE +rb_libruby_handle(void) +{ + return libruby; +} #endif void ruby_init_loadpath_safe(int safe_level); |
