Method: FFI::LastError.winapi_error
- Defined in:
- ext/ffi_c/LastError.c
.winapi_error ⇒ Integer
Get GetLastError() value. Only Windows or Cygwin.
159 160 161 162 163 |
# File 'ext/ffi_c/LastError.c', line 159
static VALUE
get_last_winapi_error(VALUE self)
{
return INT2NUM(thread_data_get()->td_winapi_errno);
}
|