py3: TechDraw: Int->Long

This commit is contained in:
looooo
2017-02-20 19:49:07 +01:00
committed by wmayer
parent 5590acdfa5
commit bd42762a8a

View File

@@ -80,16 +80,8 @@ PyObject* DrawParametricTemplatePy::drawLine(PyObject *args)
}
#if PY_MAJOR_VERSION < 3
Py::Int DrawParametricTemplatePy::getGeometryCount(void) const
{
int size = getDrawParametricTemplatePtr()->getGeometry().size();
return Py::Int(size);
}
#else
Py::Long DrawParametricTemplatePy::getGeometryCount(void) const
{
int size = getDrawParametricTemplatePtr()->getGeometry().size();
return Py::Long(size);
}
#endif