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:
parent
a2aed07f6a
commit
84c2c9ac5b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue