add missing method bodies
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8fad995f34
commit
c2c1edf4d2
2 changed files with 2 additions and 2 deletions
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
// bug # 924413
|
||||
%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_hello(); // this works fine
|
||||
virtual void say_hello() {} // this works fine
|
||||
|
||||
protected:
|
||||
A() { } // defined protected as swig generates constructor by default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue