diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2013-01-30 10:28:27 -0800 |
|---|---|---|
| committer | Kerra Olson <kerra@mbp.local> | 2013-02-10 11:51:05 -0800 |
| commit | dfcdb6eb729fa51cac47f219a90a9f894819f343 (patch) | |
| tree | ed436c020a967a4184854a37aedd800f33c0dfc8 /src/rt/rust_uv.cpp | |
| parent | 3a813e29b64dac9502f16b8cbaae6a6d16f9a687 (diff) | |
| download | rust-dfcdb6eb729fa51cac47f219a90a9f894819f343.tar.gz rust-dfcdb6eb729fa51cac47f219a90a9f894819f343.zip | |
rt/std: update of libuv API glue for libuv submodule update
Diffstat (limited to 'src/rt/rust_uv.cpp')
| -rw-r--r-- | src/rt/rust_uv.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp index 2dc70088628..f08261c336d 100644 --- a/src/rt/rust_uv.cpp +++ b/src/rt/rust_uv.cpp @@ -121,11 +121,6 @@ rust_uv_loop_delete(uv_loop_t* loop) { uv_loop_delete(loop); } -extern "C" int -rust_uv_loop_refcount(uv_loop_t* loop) { - return uv_loop_refcount(loop); -} - extern "C" void rust_uv_loop_set_data(uv_loop_t* loop, void* data) { loop->data = data; @@ -151,7 +146,7 @@ rust_uv_stop_op_cb(uv_handle_t* op_handle) { extern "C" void rust_uv_run(uv_loop_t* loop) { - uv_run(loop); + uv_run(loop, UV_RUN_DEFAULT); } extern "C" void @@ -160,6 +155,11 @@ rust_uv_close(uv_handle_t* handle, uv_close_cb cb) { } extern "C" void +rust_uv_walk(uv_loop_t* loop, uv_walk_cb cb, void* arg) { + uv_walk(loop, cb, arg); +} + +extern "C" void rust_uv_hilvl_close(uv_handle_t* handle, extern_close_cb cb) { handle_data* data = (handle_data*)handle->data; data->close_cb = cb; |
