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

@@ -30,8 +30,9 @@
#include "StepShapePy.h"
namespace Import {
extern PyObject* initModule();
namespace Import
{
extern PyObject* initModule();
}
PyMOD_INIT_FUNC(Import)
@@ -41,13 +42,13 @@ PyMOD_INIT_FUNC(Import)
try {
Base::Interpreter().loadModule("Part");
}
catch(const Base::Exception& e) {
catch (const Base::Exception& e) {
PyErr_SetString(PyExc_ImportError, e.what());
PyMOD_Return(nullptr);
}
// add mesh elements
Base::Interpreter().addType(&Import::StepShapePy ::Type, importModule, "StepShape");
Base::Interpreter().addType(&Import::StepShapePy ::Type, importModule, "StepShape");
Base::Console().Log("Loading Import module... done\n");