On 6 13 , 11 55 , "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > I used INT64 and initialize its value from PyArg_ParseTuple. > > The code is PyArg_ParseTuple(args, "l", &nValue). > > It should be PyArg_ParseTuple(args, "L", &nValue). > > That's still incorrect. For the L format flag, use PY_LONG_LONG, > not your own INT64 type. More generally: always use the type > documented in > > http://docs.python.org/api/arg-parsing.html > > Regards, > Martin
PY_LONG_LONG is decleared as __int64 on windows. There is no difference. Regards, Allen Chen
-- http://mail.python.org/mailman/listinfo/python-list