PageRenderTime 27ms CodeModel.GetById 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Swig | 18 lines | 12 code | 6 blank | 0 comment | 0 complexity | c25ca86c169678e420d80ac90416ee81 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module inherit_void_arg
  2. %inline %{
  3. class A {
  4. public:
  5. virtual ~A() { }
  6. virtual void f(void) = 0;
  7. };
  8. class B : public A {
  9. public:
  10. void f() { }
  11. };
  12. %}