From 67d84e142a299c67eb2496cfddbe60b857cae4fa Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 11 Dec 2003 21:16:21 +0000 Subject: [PATCH] base() changed to basemethod() - base is a C# keyword git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5536 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/director_detect.i | 2 +- SWIG/Examples/test-suite/python/director_detect_runme.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()