about summary refs log tree commit diff
path: root/src/rt/rust_uv.cpp
diff options
context:
space:
mode:
authorJeff Olson <olson.jeffery@gmail.com>2012-04-16 13:06:41 -0700
committerBrian Anderson <banderson@mozilla.com>2012-04-20 15:23:22 -0700
commit12f2f4c15c467991d5675bbc4be7f7c2012ee5d3 (patch)
tree88be019e644de6130e38bd3f6c506a014d9726c2 /src/rt/rust_uv.cpp
parente604c15df18f5d8129b129eb46bb5e0a6f13c27b (diff)
downloadrust-12f2f4c15c467991d5675bbc4be7f7c2012ee5d3.tar.gz
rust-12f2f4c15c467991d5675bbc4be7f7c2012ee5d3.zip
rt: whitespace cleanup for existing libuv integration
Diffstat (limited to 'src/rt/rust_uv.cpp')
-rw-r--r--src/rt/rust_uv.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp
index 2130d374d10..287e45aecd6 100644
--- a/src/rt/rust_uv.cpp
+++ b/src/rt/rust_uv.cpp
@@ -209,12 +209,12 @@ rust_uv_hilvl_timer_start(uv_timer_t* the_timer, uint32_t timeout,
 
 extern "C" int
 rust_uv_timer_init(uv_loop_t* loop, uv_timer_t* timer) {
-	return uv_timer_init(loop, timer);
+    return uv_timer_init(loop, timer);
 }
 
 extern "C" int
 rust_uv_timer_start(uv_timer_t* the_timer, uv_timer_cb cb,
-						  uint32_t timeout, uint32_t repeat) {
+                        uint32_t timeout, uint32_t repeat) {
     return uv_timer_start(the_timer, cb, timeout, repeat);
 }
 
@@ -439,22 +439,22 @@ rust_uv_ip4_addr(const char* ip, int port) {
 
 extern "C" uintptr_t*
 rust_uv_get_kernel_global_chan_ptr() {
-	uintptr_t* result = rust_get_current_task()->kernel->get_global_loop();
+    uintptr_t* result = rust_get_current_task()->kernel->get_global_loop();
     rust_task* task = rust_get_current_task();
-	LOG(task, stdlib, "global loop: %lu", (unsigned long int)result);
-	LOG(task, stdlib,"global loop val: %lu", (unsigned long int)*result);
-	return result;
+    LOG(task, stdlib, "global loop: %lu", (unsigned long int)result);
+    LOG(task, stdlib,"global loop val: %lu", (unsigned long int)*result);
+    return result;
 }
 
 extern "C" void**
 rust_uv_get_kernel_global_async_handle() {
-	return rust_get_current_task()->kernel->get_global_async_handle();
+    return rust_get_current_task()->kernel->get_global_async_handle();
 }
 extern "C" void
 rust_uv_set_kernel_global_async_handle(uv_async_t* handle) {
-	rust_get_current_task()->kernel->set_global_async_handle((void*)handle);
+    rust_get_current_task()->kernel->set_global_async_handle((void*)handle);
 }
 extern "C" void
 rust_uv_free_kernel_global_async_handle() {
-	free((void*)rust_get_current_task()->kernel->get_global_async_handle());
+    free((void*)rust_get_current_task()->kernel->get_global_async_handle());
 }