core: Fix signature of call_with_retptr. Closes #1987

This commit is contained in:
Brian Anderson 2012-03-17 14:39:42 -07:00
parent cae2c1611b
commit c139b348fe

View File

@ -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;