Sheet: Apply clang format
This commit is contained in:
@@ -24,8 +24,10 @@
|
||||
|
||||
#include "PropertySheet.h"
|
||||
// inclusion of the generated files (generated out of PropertySheetPy.xml)
|
||||
// clang-format off
|
||||
#include "PropertySheetPy.h"
|
||||
#include "PropertySheetPy.cpp"
|
||||
// clang-format on
|
||||
|
||||
|
||||
using namespace Spreadsheet;
|
||||
@@ -36,7 +38,7 @@ std::string PropertySheetPy::representation() const
|
||||
return {"<PropertySheet object>"};
|
||||
}
|
||||
|
||||
PyObject *PropertySheetPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
|
||||
PyObject* PropertySheetPy::PyMake(struct _typeobject*, PyObject*, PyObject*)// Python wrapper
|
||||
{
|
||||
// create a new instance of PropertySheetPy and the Twin object
|
||||
return new PropertySheetPy(new PropertySheet);
|
||||
@@ -48,12 +50,12 @@ int PropertySheetPy::PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
|
||||
return 0;
|
||||
}
|
||||
|
||||
PyObject * PropertySheetPy::mapping_subscript(PyObject * o, PyObject *key)
|
||||
PyObject* PropertySheetPy::mapping_subscript(PyObject* o, PyObject* key)
|
||||
{
|
||||
return static_cast<PropertySheetPy*>(o)->getPropertySheetPtr()->getPyValue(key);
|
||||
}
|
||||
|
||||
PyObject *PropertySheetPy::getCustomAttributes(const char* /*attr*/) const
|
||||
PyObject* PropertySheetPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user