Debian Codegraph @

pypy/module/_cppyy/test/simple_class.C

raw
1 class MySimpleBase {
2 public:
3 MySimpleBase() {}
4 };
5
6 class MySimpleDerived : public MySimpleBase {
7 public:
8 MySimpleDerived() { m_data = -42; }
9 int get_data() { return m_data; }
10 void set_data(int data) { m_data = data; }
11 public:
12 int m_data;
13 };
14
15 typedef MySimpleDerived MySimpleDerived_t;