add in missing return values
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
605ac2432f
commit
b0f01fbc6c
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ class DIgnores
|
|||
virtual int Triple(int n) { return n*3; }
|
||||
virtual int& References(int& n) { static int nn; nn=n; return nn; }
|
||||
virtual int* Pointers(int* n) { static int nn; nn=*n; return &nn; }
|
||||
virtual double PublicMethod1() {}
|
||||
virtual double PublicMethod1() { return 0.0; }
|
||||
virtual double PublicPureVirtualMethod1() = 0;
|
||||
virtual void PublicMethod2() {}
|
||||
virtual void PublicPureVirtualMethod2() = 0;
|
||||
|
|
@ -41,7 +41,7 @@ class DIgnores
|
|||
protected:
|
||||
virtual void OverloadedProtectedMethod(int n, int xoffset = 0, int yoffset = 0) {}
|
||||
virtual void OverloadedProtectedMethod() {}
|
||||
virtual double ProtectedMethod1() {}
|
||||
virtual double ProtectedMethod1() { return 0.0; }
|
||||
virtual double ProtectedPureVirtualMethod1() = 0;
|
||||
virtual void ProtectedMethod2() {}
|
||||
virtual void ProtectedPureVirtualMethod2() = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue