diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2012-04-16 13:06:41 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-04-20 15:23:22 -0700 |
| commit | 12f2f4c15c467991d5675bbc4be7f7c2012ee5d3 (patch) | |
| tree | 88be019e644de6130e38bd3f6c506a014d9726c2 /src/rt/rust_kernel.h | |
| parent | e604c15df18f5d8129b129eb46bb5e0a6f13c27b (diff) | |
| download | rust-12f2f4c15c467991d5675bbc4be7f7c2012ee5d3.tar.gz rust-12f2f4c15c467991d5675bbc4be7f7c2012ee5d3.zip | |
rt: whitespace cleanup for existing libuv integration
Diffstat (limited to 'src/rt/rust_kernel.h')
| -rw-r--r-- | src/rt/rust_kernel.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rt/rust_kernel.h b/src/rt/rust_kernel.h index a93ed118a35..2309f4e6c1a 100644 --- a/src/rt/rust_kernel.h +++ b/src/rt/rust_kernel.h @@ -73,9 +73,9 @@ class rust_kernel { rust_scheduler* get_scheduler_by_id_nolock(rust_sched_id id); void end_weak_tasks(); - // Used to communicate with the process-side, global libuv loop - uintptr_t global_loop_chan; - void** global_async_handle; + // Used to communicate with the process-side, global libuv loop + uintptr_t global_loop_chan; + void** global_async_handle; public: struct rust_env *env; @@ -122,10 +122,10 @@ public: bool send_to_port(rust_port_id chan, void *sptr); - uintptr_t* get_global_loop() { return &global_loop_chan; } - void** get_global_async_handle() { return global_async_handle; } - void set_global_async_handle(void* handle) { - *global_async_handle = handle; } + uintptr_t* get_global_loop() { return &global_loop_chan; } + void** get_global_async_handle() { return global_async_handle; } + void set_global_async_handle(void* handle) { + *global_async_handle = handle; } }; template <typename T> struct kernel_owned { |
