several clean/speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
07d92a6095
commit
460734844b
11 changed files with 209 additions and 176 deletions
|
|
@ -77,7 +77,7 @@ Wrapper_pretty_print(String *str, File *f) {
|
|||
int level = 0;
|
||||
int c, i;
|
||||
int empty = 1;
|
||||
int indent = 4;
|
||||
int indent = 2;
|
||||
int plevel = 0;
|
||||
int label = 0;
|
||||
|
||||
|
|
@ -439,7 +439,7 @@ Wrapper_add_localv(Wrapper *w, const String_or_char *name, ...) {
|
|||
|
||||
obj = va_arg(ap,void *);
|
||||
while (obj) {
|
||||
Printv(decl,obj,NIL);
|
||||
Append(decl,obj);
|
||||
Putc(' ', decl);
|
||||
obj = va_arg(ap, void *);
|
||||
}
|
||||
|
|
@ -514,7 +514,7 @@ Wrapper_new_localv(Wrapper *w, const String_or_char *name, ...) {
|
|||
|
||||
obj = va_arg(ap,void *);
|
||||
while (obj) {
|
||||
Printv(decl,obj,NIL);
|
||||
Append(decl,obj);
|
||||
Putc(' ',decl);
|
||||
obj = va_arg(ap, void *);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue