/trunk/Examples/python/performance/operator/Simple.i
Swig | 8 lines | 8 code | 0 blank | 0 comment | 0 complexity | bf935bca83742fc1b616786e4d2ce2f0 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %inline %{
- class MyClass {
- public:
- MyClass () {}
- ~MyClass () {}
- MyClass& operator+ (int i) { return *this; }
- };
- %}