diff --git a/SWIG/Examples/test-suite/director_detect.i b/SWIG/Examples/test-suite/director_detect.i index d56091749..cd6584de5 100644 --- a/SWIG/Examples/test-suite/director_detect.i +++ b/SWIG/Examples/test-suite/director_detect.i @@ -34,7 +34,7 @@ class Bar : public Foo { public: - Foo* base() + Foo* baseclass() { return this; } diff --git a/SWIG/Examples/test-suite/python/director_detect_runme.py b/SWIG/Examples/test-suite/python/director_detect_runme.py index b3951f4f1..e298c99a6 100644 --- a/SWIG/Examples/test-suite/python/director_detect_runme.py +++ b/SWIG/Examples/test-suite/python/director_detect_runme.py @@ -23,7 +23,7 @@ class MyBar(director_detect.Bar): b = MyBar() -f = b.base() +f = b.baseclass() v = f.get_value() a = f.get_class()