In C extension .pyd, sizeof INT64 = 4?
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Tue Jun 12 08:08:02 EDT 2007
En Tue, 12 Jun 2007 08:39:43 -0300, Allen <Allen.Chenal at gmail.com>
escribió:
> PyObject* method(PyObject* self, PyObject *args)
> {
> INT64 nValue; /* LINE_HERE */
> INT32 nRet;
> nRet = DoSomeCOperations(nValue);
> return PyBuildValue("i", nRet);
> }
>
> If I changed INT64 nValue to be static INT64 nValue at LINE_HERE, it
> is ok.
> Why?
I don't know, but I don't see either where Python is involved... you don't
use any argument and the returned Python object is not an INT64...
--
Gabriel Genellina
More information about the Python-list
mailing list