All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
ef997f2259
commit
9fe130cd73
@@ -22,7 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
# include <sstream>
|
||||
#include <sstream>
|
||||
|
||||
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
@@ -39,11 +39,13 @@ std::string BoundedCurvePy::representation() const
|
||||
return "<Curve object>";
|
||||
}
|
||||
|
||||
PyObject *BoundedCurvePy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
|
||||
PyObject* BoundedCurvePy::PyMake(struct _typeobject*, PyObject*, PyObject*) // Python wrapper
|
||||
{
|
||||
// never create such objects with the constructor
|
||||
PyErr_SetString(PyExc_RuntimeError,
|
||||
"You cannot create an instance of the abstract class 'BoundedCurve'.");
|
||||
PyErr_SetString(
|
||||
PyExc_RuntimeError,
|
||||
"You cannot create an instance of the abstract class 'BoundedCurve'."
|
||||
);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -63,7 +65,7 @@ Py::Object BoundedCurvePy::getEndPoint() const
|
||||
return Py::Vector(getGeomBoundedCurvePtr()->getEndPoint());
|
||||
}
|
||||
|
||||
PyObject *BoundedCurvePy::getCustomAttributes(const char* /*attr*/) const
|
||||
PyObject* BoundedCurvePy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user