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 | |
| parent | 3a813e29b64dac9502f16b8cbaae6a6d16f9a687 (diff) | |
rt/std: update of libuv API glue for libuv submodule update
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust_uv.cpp | 12 | ||||
| -rw-r--r-- | src/rt/rustrt.def.in | 2 |
2 files changed, 7 insertions, 7 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; diff --git a/src/rt/rustrt.def.in b/src/rt/rustrt.def.in index 818eb5f83a7..2e687472a8d 100644 --- a/src/rt/rustrt.def.in +++ b/src/rt/rustrt.def.in @@ -73,7 +73,7 @@ rust_upcall_free rust_upcall_malloc rust_uv_loop_new rust_uv_loop_delete -rust_uv_loop_refcount +rust_uv_walk rust_uv_loop_set_data rust_uv_bind_op_cb rust_uv_stop_op_cb |
