fix readability-identifier-length

This commit is contained in:
wmayer
2023-11-14 20:15:02 +01:00
parent 57a333e2b2
commit 9c7d00ffcb
38 changed files with 281 additions and 270 deletions

View File

@@ -117,10 +117,10 @@ bool SmartPtr::isNull() const
return p == nullptr;
}
BaseExport PyObject* new_reference_to(const SmartPtr& g)
BaseExport PyObject* new_reference_to(const SmartPtr& ptr)
{
PyObject* p = g.ptr();
Py::_XINCREF(p);
return p;
PyObject* py = ptr.ptr();
Py::_XINCREF(py);
return py;
}
} // namespace Py