core: Fix signature of call_with_retptr. Closes #1987
This commit is contained in:
@@ -57,8 +57,7 @@ native mod rustrt {
|
|||||||
|
|
||||||
#[abi = "rust-intrinsic"]
|
#[abi = "rust-intrinsic"]
|
||||||
native mod rusti {
|
native mod rusti {
|
||||||
// FIXME: This should probably not take a boxed closure (Issue #1987)
|
fn call_with_retptr<T: send>(&&f: fn(*uint)) -> T;
|
||||||
fn call_with_retptr<T: send>(&&f: fn@(*uint)) -> T;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type port_id = int;
|
type port_id = int;
|
||||||
|
|||||||
Reference in New Issue
Block a user