flapigen 0.11.0

Tool for connecting libraries written in Rust with other languages
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
foreign_callback!(callback Foo {
    self_type Foo;
    f = Foo::f(&self);
});

foreign_callback!(callback Boo {
    self_type Boo;
    g = Boo::g(&self, x: &C_Foo);
    h = Boo::h(&self, x: &mut C_Foo);
});

foreign_class!(
    #[derive(PlainClass)]
    class Class {
        fn static_member(x: *mut C_Boo);
    }
);