diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-09-04 18:51:14 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-09-05 14:22:15 -0700 |
| commit | c218694cece7c3018b4a809a52a35fcf3716d92e (patch) | |
| tree | f7abe1b9d5c3f57310718e075590a8cba865e99a /src/rt/rust_uv.cpp | |
| parent | b3f7f758b1f3df8c1d2ded808492b452e4b0e1a0 (diff) | |
| download | rust-c218694cece7c3018b4a809a52a35fcf3716d92e.tar.gz rust-c218694cece7c3018b4a809a52a35fcf3716d92e.zip | |
std::rt: Add libuv bindings for getaddrinfo
Diffstat (limited to 'src/rt/rust_uv.cpp')
| -rw-r--r-- | src/rt/rust_uv.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp index 8ef4572f810..ac5ea4bb3b3 100644 --- a/src/rt/rust_uv.cpp +++ b/src/rt/rust_uv.cpp @@ -553,3 +553,8 @@ extern "C" uv_loop_t* rust_uv_get_loop_from_fs_req(uv_fs_t* req) { return req->loop; } + +extern "C" uv_loop_t* +rust_uv_get_loop_from_getaddrinfo_req(uv_getaddrinfo_t* req) { + return req->loop; +} |
