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