/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
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1/* File : example.h */ 2 3extern void foo (int x); 4extern void foo (char *x); 5 6class Foo { 7 private: 8 int myvar; 9 public: 10 Foo(); 11 Foo(const Foo &); // Copy constructor 12 void bar(int x); 13 void bar(char *s, int y); 14};