Skip to content
Permalink
Browse files

py3: TechDraw: Int->Long

  • Loading branch information...
looooo authored and wwmayer committed Feb 20, 2017
1 parent e13d4a7 commit b61a95c7de43c4a43a5a4ceef35dd8b9b9a698f9
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/Mod/TechDraw/App/DrawParametricTemplatePyImp.cpp
@@ -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

0 comments on commit b61a95c

Please sign in to comment.
You can’t perform that action at this time.