All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent ef997f2259
commit 9fe130cd73
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -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;
}