On Fri, Sep 19, 2008 at 03:33, Robert Cimrman <[EMAIL PROTECTED]> wrote:

> I have Python 2.4.4
>
> in "pyconfig.h"
>
> #define HAVE_LONG_LONG 1
>
> in "pyport.h":
>
> #ifdef HAVE_LONG_LONG
> #ifndef PY_LONG_LONG
> #define PY_LONG_LONG long long
> #endif
> #endif /* HAVE_LONG_LONG */
>
> so it seems compatible with 'ctypedef long long PY_LONG_LONG'

Ah, found it. T_LONGLONG is a #define from structmember.h which is
used to describe the types of attributes. Apparently, this was not
added until Python 2.5. That particular member didn't actually need to
be long long, so I've fixed that.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to