core: Fix signature of call_with_retptr. Closes #1987
This commit is contained in:
parent
cae2c1611b
commit
c139b348fe
@ -57,8 +57,7 @@ native mod rustrt {
|
||||
|
||||
#[abi = "rust-intrinsic"]
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user