diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-09-03 02:42:59 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-09-03 03:17:58 +0400 |
commit | ed8d97f572fab15025da0c762e5edfbcbe45f425 (patch) | |
tree | ca92b0ac08b5ebc14848883e4cba4e1edc9dd46b /src/udp_wrap.h | |
parent | 185c515c9febf2229ed2ac76bfdd0c767ea7fd43 (diff) |
uv: upgrade to v0.11.12
* upgrade deps/uv/ to v0.11.12.
* update files in src/ after a libuv API change.
Diffstat (limited to 'src/udp_wrap.h')
-rw-r--r-- | src/udp_wrap.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/udp_wrap.h b/src/udp_wrap.h index fb73647045d..e0cfc7ba264 100644 --- a/src/udp_wrap.h +++ b/src/udp_wrap.h @@ -64,13 +64,15 @@ class UDPWrap: public HandleWrap { static void SetMembership(const v8::FunctionCallbackInfo<v8::Value>& args, uv_membership membership); - static uv_buf_t OnAlloc(uv_handle_t* handle, size_t suggested_size); + static void OnAlloc(uv_handle_t* handle, + size_t suggested_size, + uv_buf_t* buf); static void OnSend(uv_udp_send_t* req, int status); static void OnRecv(uv_udp_t* handle, ssize_t nread, - uv_buf_t buf, - struct sockaddr* addr, - unsigned flags); + const uv_buf_t* buf, + const struct sockaddr* addr, + unsigned int flags); uv_udp_t handle_; }; |