obscure case workaround in std::set wrapper, where ignored type still need to be processed

This commit is contained in:
Vladimir Kalinin 2014-05-19 02:05:23 +04:00
commit d2ab75f907

View file

@ -661,15 +661,15 @@ class TypePass:private Dispatcher {
* ------------------------------------------------------------ */
virtual int cDeclaration(Node *n) {
if (GetFlag(n, "feature:ignore")) {
return SWIG_OK;
}
if (NoExcept) {
Delattr(n, "throws");
}
/* Normalize types. */
SwigType *ty = Getattr(n, "type");
if (!ty) {
return SWIG_OK;
}
normalize_type(ty);
SwigType *decl = Getattr(n, "decl");
if (decl) {