All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
ef997f2259
commit
9fe130cd73
@@ -33,17 +33,18 @@ 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user