Fix previous commit
Revert changes inadvertently included, and fix `=` to `==`.
This commit is contained in:
parent
029ddab8b5
commit
b2c58115d7
20 changed files with 38 additions and 39 deletions
|
|
@ -1196,7 +1196,7 @@ String *SwigType_prefix(const SwigType *t) {
|
|||
if (*d == '>') {
|
||||
int nest = 1;
|
||||
d--;
|
||||
while ((d > c) && nest) {
|
||||
while ((d > c) && (nest)) {
|
||||
if (*d == '>')
|
||||
nest++;
|
||||
if (*d == '<')
|
||||
|
|
@ -1208,7 +1208,7 @@ String *SwigType_prefix(const SwigType *t) {
|
|||
/* Skip over params */
|
||||
int nparen = 1;
|
||||
d--;
|
||||
while ((d > c) && nparen) {
|
||||
while ((d > c) && (nparen)) {
|
||||
if (*d == ')')
|
||||
nparen++;
|
||||
if (*d == '(')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue