[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r39844 - trunk/subversion/bindings/swig/include

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Sat, 10 Oct 2009 16:22:55 +0200

2009-10-07 22:25:27 Roman Donchenko napisaƂ(a):
> Author: rdonch
> Date: Wed Oct 7 13:25:27 2009
> New Revision: 39844
>
> Log:
> * subversion/bindings/swig/include/svn_containers.swg:
> For now, remove one of the checks introduced by r39838, as is requires
> Py_ssize_t, which is apparently not provided by the combination of old SWIG
> and Python 2.4 which is used by the win32-xp VS2005 buildbot.

The code can be conditional on PY_MAJOR_VERSION and PY_MINOR_VERSION:

#if PY_MAJOR_VERSION >= 3 || (PY_MAJOR_VERSION < 3 && PY_MINOR_VERSION >=5)
/* Code for Python >=2.5. */
#else
/* Code for Python 2.4. */
#endif

-- 
Arfrever Frehtes Taifersar Arahesis
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2405872

Received on 2009-10-10 16:20:39 CEST

This is an archived mail posted to the Subversion Dev mailing list.