base() changed to basemethod() - base is a C# keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
75e38f83b7
commit
55c4bf307f
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@
|
||||||
class Bar : public Foo
|
class Bar : public Foo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Foo* base()
|
Foo* baseclass()
|
||||||
{
|
{
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class MyBar(director_detect.Bar):
|
||||||
|
|
||||||
b = MyBar()
|
b = MyBar()
|
||||||
|
|
||||||
f = b.base()
|
f = b.baseclass()
|
||||||
|
|
||||||
v = f.get_value()
|
v = f.get_value()
|
||||||
a = f.get_class()
|
a = f.get_class()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue