python: apply const method annotations to impls.
This commit is contained in:
@@ -371,7 +371,7 @@ void LinkViewPy::setVisibilities(Py::Object value) {
|
||||
linked->setElementVisible(i,i>=(int)vis.size()||vis[i]);
|
||||
}
|
||||
|
||||
PyObject* LinkViewPy::getChildren(PyObject *args) {
|
||||
PyObject* LinkViewPy::getChildren(PyObject *args) const {
|
||||
if (!PyArg_ParseTuple(args, ""))
|
||||
return nullptr;
|
||||
auto children = getLinkViewPtr()->getChildren();
|
||||
@@ -395,4 +395,3 @@ void LinkViewPy::setCount(Py::Long count) {
|
||||
throw Py::RuntimeError(e.what());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user