add missing method bodies
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e7453ba642
commit
daedd1506b
2 changed files with 2 additions and 2 deletions
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
// bug # 924413
|
// bug # 924413
|
||||||
%inline {
|
%inline {
|
||||||
void clear_tree_flags(register struct tree *tp, register int i);
|
void clear_tree_flags(register struct tree *tp, register int i) {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
virtual void say_hi() = 0; // only fails with pure virtual methods
|
virtual void say_hi() = 0; // only fails with pure virtual methods
|
||||||
|
|
||||||
virtual void say_hello(); // this works fine
|
virtual void say_hello() {} // this works fine
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
A() { } // defined protected as swig generates constructor by default
|
A() { } // defined protected as swig generates constructor by default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue