Restored the Python module. Lots of minor fixes and cleanup

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

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