PageRenderTime 25ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/mod_a.i

#
Swig | 24 lines | 17 code | 7 blank | 0 comment | 0 complexity | d98f4cec9838ac890f1a3627dbdc6a26 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module mod_a
  2. %{
  3. #include "mod.h"
  4. %}
  5. class C;
  6. class A
  7. {
  8. public:
  9. A() {}
  10. C* GetC() { return NULL; }
  11. void DoSomething(A* a) {}
  12. };
  13. class B : public A
  14. {
  15. public:
  16. B();
  17. };