Wrap abstract class too, as per David Gobbi's request (for the sake of the internal
documentation features of python").
This commit is contained in:
parent
27522269ff
commit
75a24394ea
|
@ -150,8 +150,6 @@ bool cmVTKWrapPythonCommand::CreateInitFile(std::string& res)
|
||||||
int lastClass = m_WrapHeaders.size();
|
int lastClass = m_WrapHeaders.size();
|
||||||
int classNum;
|
int classNum;
|
||||||
for(classNum = 0; classNum < lastClass; classNum++)
|
for(classNum = 0; classNum < lastClass; classNum++)
|
||||||
{
|
|
||||||
if (!m_WrapClasses[classNum].IsAnAbstractClass())
|
|
||||||
{
|
{
|
||||||
std::string cls = m_WrapHeaders[classNum];
|
std::string cls = m_WrapHeaders[classNum];
|
||||||
cls = cls.substr(0,cls.size()-2);
|
cls = cls.substr(0,cls.size()-2);
|
||||||
|
@ -162,7 +160,6 @@ bool cmVTKWrapPythonCommand::CreateInitFile(std::string& res)
|
||||||
}
|
}
|
||||||
classes.push_back(cls);
|
classes.push_back(cls);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// open the init file
|
// open the init file
|
||||||
std::string outFileName =
|
std::string outFileName =
|
||||||
|
|
Loading…
Reference in New Issue