v_offset = v_ptr + (vba.vertexIndex * v_sptr.getVertexSize())
The statement above is from the ogreNewt ragdoll demo. As I understand it, it increments the current vertex buffer pointer by a certain amount in order to get the memory address of the vertex at vba.vertexIndex.
However, python complaints that there's no operand '+' defined for void* and integer.
(v_ptr is of type void *.
vba.vertexIndex*v_sptr.getVertexSize() is of type int.)
My question is how do I perform such operations on a vertex buffer pointer to increment/decrement it in python-ogre?