bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] There is Py_ssize_t in gnnubg source, which is NOT suppo


From: Michael Petch
Subject: Re: [Bug-gnubg] There is Py_ssize_t in gnnubg source, which is NOT supported until python 2.5
Date: Sun, 05 Apr 2009 21:17:41 -0600
User-agent: Microsoft-Entourage/12.15.0.081119



On 05/04/09 8:50 PM, "Michael Petch" <address@hidden> wrote:

> #if USE_PYTHON
> #ifdef WIN32
> /* needed for mingw inclusion of Python.h */
> #ifndef _MSC_VER
> #include <stdint.h>
> #endif
> #endif
> #include <Python.h>
> #endif
> #ifndef 
> typedef size_t Py_ssize_t;
> #endif
> #endif

Oops typo there, should have been:

#if USE_PYTHON
#ifdef WIN32
/* needed for mingw inclusion of Python.h */
#ifndef _MSC_VER
#include <stdint.h>
#endif
#endif
#include <Python.h>
#endif
#ifndef Py_ssize_t 
typedef size_t Py_ssize_t;
#endif
#endif






reply via email to

[Prev in Thread] Current Thread [Next in Thread]