Skip to content

Commit

Permalink
Inspection: apply clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Sep 1, 2023
1 parent 7155d94 commit ea116dc
Show file tree
Hide file tree
Showing 17 changed files with 730 additions and 570 deletions.
15 changes: 9 additions & 6 deletions src/Mod/Inspection/App/AppInspection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
#include "InspectionFeature.h"


namespace Inspection {
class Module : public Py::ExtensionModule<Module>
namespace Inspection
{
class Module: public Py::ExtensionModule<Module>
{
public:
Module() : Py::ExtensionModule<Module>("Inspection")
Module()
: Py::ExtensionModule<Module>("Inspection")
{
initialize("This module is the Inspection module."); // register with Python
initialize("This module is the Inspection module.");// register with Python
}

private:
Expand All @@ -45,7 +47,7 @@ PyObject* initModule()
return Base::Interpreter().addModule(new Module);
}

} // namespace Inspection
}// namespace Inspection


/* Python entry */
Expand All @@ -56,9 +58,10 @@ PyMOD_INIT_FUNC(Inspection)
//
PyObject* mod = Inspection::initModule();
Base::Console().Log("Loading Inspection module... done\n");

// clang-format off
Inspection::PropertyDistanceList ::init();
Inspection::Feature ::init();
Inspection::Group ::init();
// clang-format on
PyMOD_Return(mod);
}
Loading

0 comments on commit ea116dc

Please sign in to comment.