Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 11, 2013
  1. @bnoordhuis
Commits on Jul 7, 2013
  1. @bnoordhuis

    unix, windows: return error codes directly

    bnoordhuis authored
    This commit changes the libuv API to return error codes directly rather
    than storing them in a loop-global field.
    A code snippet like this one:
        if (uv_foo(loop) < 0) {
          uv_err_t err = uv_last_error(loop);
          fprintf(stderr, "%s\n", uv_strerror(err));
    Should be rewritten like this:
        int err = uv_foo(loop);
        if (err < 0)
          fprintf(stderr, "%s\n", uv_strerror(err));
    The rationale for this change is that it should make creating bindings
    for other languages a lot easier: dealing with struct return values is
    painful with most FFIs and often downright buggy.
Commits on Sep 8, 2011
  1. @erickt @ry

    Fix test-get-currentexe on darwin.

    erickt authored ry committed
    Darwin uses _NSGetExecutablePath to determine
    the path of an executable, but that can return
    an absolute path. This patch tweaks the executable
    path to strip off a potential "./" prefix from
    argv[0], which fixes the test.
Commits on Jul 7, 2011
  1. @ry

    src/ and include/ directories

    ry authored
    Helps #71 but does not update the MSVC files.
Commits on Jun 28, 2011
  1. @ry
Commits on May 24, 2011
  1. @ry

    Adds uv_get_exepath API

    Igor Zinkovsky authored ry committed
    Only works on Linux, Mac, Windows currently.
Something went wrong with that request. Please try again.