Skip to content
Snippets Groups Projects
Commit 1cd0b687 authored by Enric Tejedor Saavedra's avatar Enric Tejedor Saavedra
Browse files

[Exp PyROOT] Add comment about ownership of returned value

parent 44d8f66d
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,7 @@ static PyObject *PyStyleIndex(PyObject *self, PyObject *index)
pyindex = PyLong_FromSsize_t(size + idx);
}
// We transfer ownership to the caller, who needs to decref
return pyindex;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment