Restored the Python module. Lots of minor fixes and cleanup

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-08-16 21:47:36 +00:00
commit cbe8508865
11 changed files with 430 additions and 829 deletions

View file

@ -366,7 +366,7 @@ static void typemap_locals(SwigType *t, String_or_char *pname, DOHString *s, Par
Replace(s,pn,new_name,DOH_REPLACE_ID);
}
}
p = Getnext(l);
p = Getnext(p);
}
}

View file

@ -211,12 +211,12 @@ Wrapper_new_local(Wrapper *w, const String_or_char *name, const String_or_char *
char *ret;
i = 0;
while (Wrapper_check_local(w,nname)) {
Clear(nname);
i++;
Printf(nname,"%s%d",name,i);
i++;
}
Replace(ndecl, name, nname, DOH_REPLACE_ID);
Setattr(w->localh,nname,ndecl);
Printf(w->locals,"%s;\n", ndecl);