rust_swig 0.4.0

Tool for connecting libraries written in Rust with other languages
Documentation
1
2
3
4
5
6
7
8
9
10
11
"void f1(const struct C_SomeObserver * const cb) noexcept";
"virtual void onStateChanged(std::string_view a0) noexcept = 0;";
"static void c_onStateChanged(struct CRustStrView a0, void *opaque)";
r#"struct C_SomeObserver {
    void *opaque;
    //! call by Rust side when callback not need anymore
    void (*C_SomeObserver_deref)(void *opaque);

    void (*onStateChanged)(struct CRustStrView a0, void *opaque);

};"#;