python: apply const method annotations to impls.

This commit is contained in:
Jacob Oursland
2025-04-16 20:29:19 -07:00
parent 7046f908f4
commit 5c251e73ac
69 changed files with 508 additions and 515 deletions

View File

@@ -53,7 +53,7 @@ int CenterLinePy::PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
return 0;
}
PyObject* CenterLinePy::clone(PyObject *args)
PyObject* CenterLinePy::clone(PyObject *args) const
{
if (!PyArg_ParseTuple(args, ""))
return nullptr;
@@ -80,7 +80,7 @@ PyObject* CenterLinePy::clone(PyObject *args)
return cpy;
}
PyObject* CenterLinePy::copy(PyObject *args)
PyObject* CenterLinePy::copy(PyObject *args) const
{
if (!PyArg_ParseTuple(args, ""))
return nullptr;