help wanted
Repository metrics
- Stars
- (4,472 stars)
- PR merge metrics
- (Avg merge 8m) (3 merged PRs in 30d)
Description
i.e. function parameters with the type fn(...) -> ....
#[cxx::bridge]
mod ffi {
extern "Rust" {
fn f(arg: u8, callback: fn(u8));
}
}
fn f(arg: u8, callback: fn(u8)) {
callback(256 - arg);
}