Import: Apply clang format
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user