07.04.2013 16:26, Valentin Haenel kirjoitti:
[clip]
> My question is: what is the correct type to use when using
> PyArg_ParseTuple to convert the value.
[clip]
This is probably the most correct option:
http://docs.python.org/2/c-api/long.html#PyLong_AsVoidPtr
Not via ParseTuple, though.
--
Pauli Virtanen