diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-08 13:32:07 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-08 13:32:07 +0000 |
commit | a6328c35a8a0e77313980e46d383f4db4bf09381 (patch) | |
tree | 8275bcedb0a968a5bf0b8164027d8f71ad93068d | |
parent | 65805f37a49e6c877974dbe6c90bd02652bc7907 (diff) | |
download | ruby-a6328c35a8a0e77313980e46d383f4db4bf09381.tar.gz ruby-a6328c35a8a0e77313980e46d383f4db4bf09381.tar.xz ruby-a6328c35a8a0e77313980e46d383f4db4bf09381.zip |
* ext/dl/sym.c: typo fix(lasterror -> last_error).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/dl/sym.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dl/sym.c b/ext/dl/sym.c index dc48f6ce9..b83946301 100644 --- a/ext/dl/sym.c +++ b/ext/dl/sym.c @@ -338,13 +338,13 @@ rb_dl_set_last_error(VALUE self, VALUE val) static ID rb_dl_id_DLW32Error; static VALUE -rb_dl_win32_get_lasterror(VALUE self) +rb_dl_win32_get_last_error(VALUE self) { return rb_thread_local_aref(rb_thread_current(), rb_dl_id_DLW32Error); } static VALUE -rb_dl_win32_set_lasterror(VALUE self, VALUE val) +rb_dl_win32_set_last_error(VALUE self, VALUE val) { SetLastError(NUM2INT(val)); rb_thread_local_aset(rb_thread_current(), rb_dl_id_DLW32Error, val); |