warning fix on Solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fd74096275
commit
e077b9153a
1 changed files with 3 additions and 3 deletions
|
|
@ -81,9 +81,9 @@ struct OverBefore {
|
|||
|
||||
%inline %{
|
||||
struct OverAfter {
|
||||
OverAfter(const char *str, int i = -2, double d = -2.0) : d(d), i(i) { str=0; }
|
||||
static double AddedStaticMethod(const char*, int i = -1, double d = -1) { return i+d; }
|
||||
double AddedMethod(const char*, int i = -1, double d = -1.0) { return i+d; }
|
||||
OverAfter(const char *str, int ii = -2, double dd = -2.0) : d(dd), i(ii) { str=0; }
|
||||
static double AddedStaticMethod(const char*, int ii = -1, double dd = -1) { return ii+dd; }
|
||||
double AddedMethod(const char*, int ii = -1, double dd = -1.0) { return ii+dd; }
|
||||
double d;
|
||||
int i;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue