oo-bindgen 0.8.0

DSL-based binding geneator for C, C++, Java, and C#
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class Cpp<cpp_type>Friend final {

public:

    static <cpp_type> init(<c_type>* value)
    {
        return <cpp_type>(value);
    }

    static <c_type>* get(const <cpp_type>& value)
    {
        return reinterpret_cast<<c_type>*>(value.self);
    }
};