Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FFI::LastError.win_error #633

Merged
merged 3 commits into from Jan 6, 2019
Merged

Add FFI::LastError.win_error #633

merged 3 commits into from Jan 6, 2019

Commits on May 29, 2018

  1. Add FFI::LastError.win_error

    Under cygwin both errno and GetLastError are needed. This
    adds second getter named #win_error:
    
        Linux
            FFI::LastError.error     == errno
            FFI::LastError.win_error == NoMethodError
        Windows
            FFI::LastError.error     == GetLastError
            FFI::LastError.win_error == GetLastError
        Cygwin
            FFI::LastError.error     == errno
            FFI::LastError.win_error == GetLastError
    graywolf committed May 29, 2018
    Copy the full SHA
    e5132c7 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. Rename to winapi_error

    graywolf committed May 30, 2018
    Copy the full SHA
    4ba55c5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    447bdca View commit details
    Browse the repository at this point in the history