rust_swig 0.5.1

Tool for connecting libraries written in Rust with other languages
Documentation
1
2
3
4
5
6
7
8
9
10
"static void f(std::unique_ptr<MyObserver> a0) noexcept;";
r#"template<bool OWN_DATA>
    inline void TestWrapper<OWN_DATA>::f(std::unique_ptr<MyObserver> a0) noexcept
    {

        C_MyObserver tmp = MyObserver::to_c_interface(a0.release());
        const struct C_MyObserver * const a00 = &tmp;

        Test_f(std::move(a00));
    }"#;