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:
William S Fulton 2006-10-24 20:16:29 +00:00
commit b0f01fbc6c

View file

@ -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;