Changes to compile with VC++6

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-11-10 21:10:17 +00:00
commit 39abd80eef
4 changed files with 18 additions and 14 deletions

View file

@ -945,7 +945,8 @@ public:
int newobject = GetFlag(n, "feature:new");
Parm *p;
int i, numopt;
int i;
int numopt;
String *tm;
Wrapper *f;
bool mvr = (shadow && php_version == 4 && wrapperType == membervar);
@ -1414,7 +1415,7 @@ public:
fprintf(stderr, "Malloc failed!\n");
exit(1);
}
for (int i = 0; i < max_num_of_arguments; ++i) {
for (i = 0; i < max_num_of_arguments; ++i) {
arg_names[i] = NULL;
}
@ -1425,7 +1426,7 @@ public:
fprintf(stderr, "Malloc failed!\n");
exit(1);
}
for (int i = 0; i < max_num_of_arguments; ++i) {
for (i = 0; i < max_num_of_arguments; ++i) {
arg_values[i] = NULL;
}