Base: apply clang format

This commit is contained in:
wmayer
2023-11-10 18:27:44 +01:00
committed by WandererFan
parent 41528339e4
commit e85c383bff
154 changed files with 11874 additions and 9872 deletions

View File

@@ -32,17 +32,19 @@ using namespace Base;
PythonTypeExt::PythonTypeExt(Py::PythonType& type)
: pytype(type)
{
}
{}
Py::PythonType& PythonTypeExt::set_tp_descr_get(PyObject* (*tp_descr_get)(PyObject* self, PyObject* obj, PyObject* type))
Py::PythonType& PythonTypeExt::set_tp_descr_get(PyObject* (*tp_descr_get)(PyObject* self,
PyObject* obj,
PyObject* type))
{
pytype.type_object()->tp_descr_get = tp_descr_get;
return pytype;
}
Py::PythonType& PythonTypeExt::set_tp_descr_set(int (*tp_descr_set)(PyObject* self, PyObject* obj, PyObject* value))
Py::PythonType&
PythonTypeExt::set_tp_descr_set(int (*tp_descr_set)(PyObject* self, PyObject* obj, PyObject* value))
{
pytype.type_object()->tp_descr_set = tp_descr_set;