Skip to content

Commit

Permalink
ENH: make cableidx able to work with enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Lehmann committed Jun 25, 2009
1 parent 56b69d7 commit 5f34ed1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Executables/cableidx.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ int DetermineClassesToWrap(std::ofstream& fout, const Namespace* cns, const char
<< "{" << c->GetQualifiedName() << "} {"
<< td->GetName() << "} {" << group << "}\n";
}
const EnumerationType* et = EnumerationType::SafeDownCast(td->GetType());
if(et)
{
const Enumeration* e = et->GetEnumeration();
fout
<< "{" << e->GetQualifiedName() << "} {"
<< td->GetName() << "} {" << group << "}\n";
}
}
}
}
Expand Down

0 comments on commit 5f34ed1

Please sign in to comment.