Base: apply clang format

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

View File

@@ -29,7 +29,7 @@
namespace Py
{
class PythonType;
class PythonType;
}
using PyObject = struct _object;
@@ -43,13 +43,15 @@ class BaseExport PythonTypeExt
public:
PythonTypeExt(Py::PythonType& type);
Py::PythonType& set_tp_descr_get(PyObject* (*tp_descr_get)(PyObject* self, PyObject* obj, PyObject* type));
Py::PythonType& set_tp_descr_set(int (*tp_descr_set)(PyObject* self, PyObject* obj, PyObject* value));
Py::PythonType&
set_tp_descr_get(PyObject* (*tp_descr_get)(PyObject* self, PyObject* obj, PyObject* type));
Py::PythonType&
set_tp_descr_set(int (*tp_descr_set)(PyObject* self, PyObject* obj, PyObject* value));
private:
Py::PythonType& pytype;
};
} // namespace Base
} // namespace Base
#endif // BASE_PYTHONTYPEEXT_H
#endif // BASE_PYTHONTYPEEXT_H