Base: apply clang format
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user