Use the appropriate data types in Python bindings
commit0d1bf4cec86ae81df5e0c995025e5a9c07e20d66
authorAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 26 Feb 2009 22:28:55 +0000 (26 20:28 -0200)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Mon, 2 Mar 2009 00:39:59 +0000 (1 22:39 -0200)
treeb284584ad403f048d02f8d0de68bf349e47f31e1
parent9b6ee79bc86c65a99901c1fca066856b60296761
Use the appropriate data types in Python bindings

When PyArg_ParseTuple() expects an int, it's better if we really give it
an int. Otherwise, if we use a larger data type, we might get garbage
because it will assume it's the size of an int.

We had some cases when that could happen, and this patch gets rid of them.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
bindings/python/libjio.c