/trunk/Examples/test-suite/errors/cpp_overload.i

# · Swig · 15 lines · 13 code · 2 blank · 0 comment · 0 complexity · c97bffbc613774219401e9ff1c540d56 MD5 · raw file

  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. };