static PyObject *StrokeVertexIterator_decremented(BPy_StrokeVertexIterator *self) { if (self->sv_it->isBegin()) { PyErr_SetString(PyExc_RuntimeError, "cannot decrement any more"); return NULL; } StrokeInternal::StrokeVertexIterator *copy = new StrokeInternal::StrokeVertexIterator(*self->sv_it); copy->decrement(); return BPy_StrokeVertexIterator_from_StrokeVertexIterator(*copy, self->reversed); }