/tags/rel-1-3-26/SWIG/Examples/chicken/overload/example.h

# · C++ Header · 14 lines · 11 code · 2 blank · 1 comment · 0 complexity · 6ba046fd7100da3d6d6cc767b0811f7e MD5 · raw file

  1. /* File : example.h */
  2. extern void foo (int x);
  3. extern void foo (char *x);
  4. class Foo {
  5. private:
  6. int myvar;
  7. public:
  8. Foo();
  9. Foo(const Foo &); // Copy constructor
  10. void bar(int x);
  11. void bar(char *s, int y);
  12. };