Revert "Fix shadowing variable declaration", because it breaks c++ return value type casting in wrapper functions.
This reverts commit 818a9939ecf10ee6cde3e4e389eaf748ec3999d6. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b5d2f4765f
commit
4ca26c150e
1 changed files with 1 additions and 1 deletions
|
|
@ -1107,7 +1107,7 @@ ready:
|
|||
}
|
||||
if (!p) break;
|
||||
|
||||
type = Getattr(p, "type");
|
||||
SwigType *type = Getattr(p, "type");
|
||||
if (SwigType_type(type) == T_VOID) {
|
||||
p = nextSibling(p);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue