PageRenderTime 44ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-25/SWIG/Examples/test-suite/errors/cpp_overload.i

#
Swig | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | c97bffbc613774219401e9ff1c540d56 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module xxx
  2. int foo(int x);
  3. int foo(double x);
  4. class Foo {
  5. public:
  6. int bar(int);
  7. int bar(double);
  8. };
  9. class Spam {
  10. public:
  11. Spam();
  12. Spam(int);
  13. };