Closed khollbach closed 2 years ago
There's a discrepancy between the C code and the Rust code that calls it.
The Rust callback produces a return code: fn(fn(int) -> int, int) -> int, but the C callback returns nothing: void (*)(int (*)(int), int).
fn(fn(int) -> int, int) -> int
void (*)(int (*)(int), int)
There's a discrepancy between the C code and the Rust code that calls it.
The Rust callback produces a return code:
fn(fn(int) -> int, int) -> int
, but the C callback returns nothing:void (*)(int (*)(int), int)
.