Skip to content

Commit

Permalink
move uv_now definition position to make same order in uv.h
Browse files Browse the repository at this point in the history
  • Loading branch information
typester committed Mar 29, 2013
1 parent d6a8e72 commit 4b228ab
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/UV.xs
Expand Up @@ -837,6 +837,16 @@ CODE:
uv_stop(uv_default_loop());
}

NV
uv_now()
CODE:
{
/* what's the proper way to return a int64_t? */
RETVAL = (NV) uv_now(uv_default_loop());
}
OUTPUT:
RETVAL

int
uv_last_error()
CODE:
Expand Down Expand Up @@ -920,16 +930,6 @@ CODE:
uv_close(handle, close_cb);
}

NV
uv_now()
CODE:
{
/* what's the proper way to return a int64_t? */
RETVAL = (NV) uv_now(uv_default_loop());
}
OUTPUT:
RETVAL

int
uv_listen(uv_stream_t* stream, int backlog, SV* cb)
CODE:
Expand Down

0 comments on commit 4b228ab

Please sign in to comment.