global unnamed structures ignored

This commit is contained in:
Vladimir Kalinin 2014-05-15 03:13:25 +04:00
commit 3692e175bc
3 changed files with 13 additions and 1 deletions

View file

@ -661,6 +661,9 @@ class TypePass:private Dispatcher {
* ------------------------------------------------------------ */
virtual int cDeclaration(Node *n) {
if (GetFlag(n, "feature:ignore")) {
return SWIG_OK;
}
if (NoExcept) {
Delattr(n, "throws");
}