1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/dl/sym.c: typo fix(lasterror -> last_error).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2003-11-08 13:32:07 +00:00
parent a2aed07f6a
commit 84c2c9ac5b

View file

@ -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);