Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Update uv_getaddrinfo_cb prototype.
Browse files Browse the repository at this point in the history
Make it clear that the first argument is a req, not a handle.
  • Loading branch information
bnoordhuis committed Jun 24, 2012
1 parent 0fde108 commit 0005b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/uv.h
Expand Up @@ -300,11 +300,11 @@ typedef void (*uv_prepare_cb)(uv_prepare_t* handle, int status);
typedef void (*uv_check_cb)(uv_check_t* handle, int status);
typedef void (*uv_idle_cb)(uv_idle_t* handle, int status);
typedef void (*uv_exit_cb)(uv_process_t*, int exit_status, int term_signal);
typedef void (*uv_walk_cb)(uv_handle_t* handle, void* arg);
typedef void (*uv_fs_cb)(uv_fs_t* req);
typedef void (*uv_work_cb)(uv_work_t* req);
typedef void (*uv_after_work_cb)(uv_work_t* req);
typedef void (*uv_walk_cb)(uv_handle_t* handle, void* arg);
typedef void (*uv_getaddrinfo_cb)(uv_getaddrinfo_t* handle,
typedef void (*uv_getaddrinfo_cb)(uv_getaddrinfo_t* req,
int status,
struct addrinfo* res);

Expand Down

0 comments on commit 0005b52

Please sign in to comment.