diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-06 12:06:35 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-06 22:40:31 -0800 |
| commit | 8506241f3a0dce3f0d24764a3ce3d16f99bcb809 (patch) | |
| tree | 70d453fea82f951f06184de75d45f2ada8536e4b /src/rt/rust_task.h | |
| parent | 8e89df69de47a4f944f5c3fc249a88c5934864b2 (diff) | |
| download | rust-8506241f3a0dce3f0d24764a3ce3d16f99bcb809.tar.gz rust-8506241f3a0dce3f0d24764a3ce3d16f99bcb809.zip | |
fix how we walk functions to match new closure fmt
Diffstat (limited to 'src/rt/rust_task.h')
| -rw-r--r-- | src/rt/rust_task.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 6be28f41574..d0e3d0e2ad6 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -21,18 +21,6 @@ struct chan_handle { rust_port_id port; }; -struct rust_closure { - const type_desc *td; - // ... see trans_closure.rs for full description ... -}; - -struct rust_boxed_closure { - intptr_t ref_count; - rust_closure closure; -}; - -typedef void (*CDECL spawn_fn)(void*, rust_boxed_closure*, void *); - struct rust_box; struct stk_seg { @@ -145,7 +133,7 @@ rust_task : public kernel_owned<rust_task>, rust_cond ~rust_task(); void start(spawn_fn spawnee_fn, - rust_boxed_closure *env, + rust_opaque_closure *env, void *args); void start(); bool running(); |
