Import: Apply clang format

This commit is contained in:
wmayer
2023-09-10 17:23:58 +02:00
committed by wwmayer
parent ed46125a38
commit b5d0950211
28 changed files with 20674 additions and 14750 deletions

View File

@@ -22,9 +22,11 @@
#include "PreCompiled.h"
// clang-format off
// inclusion of the generated files (generated out of StepShapePy.xml)
#include "StepShapePy.h"
#include "StepShapePy.cpp"
// clang-format on
using namespace Import;
@@ -34,7 +36,7 @@ std::string StepShapePy::representation() const
return {"<StepShape object>"};
}
PyObject *StepShapePy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
PyObject* StepShapePy::PyMake(struct _typeobject*, PyObject*, PyObject*)// Python wrapper
{
// create a new instance of StepShapePy and the Twin object
return new StepShapePy(new StepShape);
@@ -53,13 +55,13 @@ int StepShapePy::PyInit(PyObject* args, PyObject* /*kwd*/)
return -1;
}
PyObject* StepShapePy::read(PyObject * /*args*/)
PyObject* StepShapePy::read(PyObject* /*args*/)
{
PyErr_SetString(PyExc_NotImplementedError, "Not yet implemented");
return nullptr;
}
PyObject *StepShapePy::getCustomAttributes(const char* /*attr*/) const
PyObject* StepShapePy::getCustomAttributes(const char* /*attr*/) const
{
return nullptr;
}