use direct methods for string, hash and avoid Strstr/Strnstr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2392a85703
commit
d4e1bae364
7 changed files with 193 additions and 171 deletions
|
|
@ -110,7 +110,7 @@ Wrapper_pretty_print(String *str, File *f) {
|
|||
} else if (c == ':') {
|
||||
Putc(c,ts);
|
||||
if ((c = Getc(str)) == '\n') {
|
||||
if (!empty && !Strstr(ts,"?")) label = 1;
|
||||
if (!empty && !strstr(Char(ts),"?")) label = 1;
|
||||
}
|
||||
Ungetc(c,str);
|
||||
} else if (c == '(') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue