obscure case workaround in std::set wrapper, where ignored type still need to be processed
This commit is contained in:
parent
3692e175bc
commit
d2ab75f907
1 changed files with 3 additions and 3 deletions
|
|
@ -661,15 +661,15 @@ class TypePass:private Dispatcher {
|
||||||
* ------------------------------------------------------------ */
|
* ------------------------------------------------------------ */
|
||||||
|
|
||||||
virtual int cDeclaration(Node *n) {
|
virtual int cDeclaration(Node *n) {
|
||||||
if (GetFlag(n, "feature:ignore")) {
|
|
||||||
return SWIG_OK;
|
|
||||||
}
|
|
||||||
if (NoExcept) {
|
if (NoExcept) {
|
||||||
Delattr(n, "throws");
|
Delattr(n, "throws");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Normalize types. */
|
/* Normalize types. */
|
||||||
SwigType *ty = Getattr(n, "type");
|
SwigType *ty = Getattr(n, "type");
|
||||||
|
if (!ty) {
|
||||||
|
return SWIG_OK;
|
||||||
|
}
|
||||||
normalize_type(ty);
|
normalize_type(ty);
|
||||||
SwigType *decl = Getattr(n, "decl");
|
SwigType *decl = Getattr(n, "decl");
|
||||||
if (decl) {
|
if (decl) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue