gimp r26849 - in trunk: . plug-ins/pygimp
- From: larsc svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26849 - in trunk: . plug-ins/pygimp
- Date: Wed, 3 Sep 2008 21:20:12 +0000 (UTC)
Author: larsc
Date: Wed Sep 3 21:20:12 2008
New Revision: 26849
URL: http://svn.gnome.org/viewvc/gimp?rev=26849&view=rev
Log:
2008-09-03 Lars-Peter Clausen <lars metafoo de>
* plugin-ins/pygimp/pygimp.h: define PyInt_AsSsize_t as PyInt_AsLong
if the python version is smaller then 2.5.0.
* configure.in: Lower required python version to 2.4.
Modified:
trunk/ChangeLog
trunk/plug-ins/pygimp/pygimp.h
Modified: trunk/plug-ins/pygimp/pygimp.h
==============================================================================
--- trunk/plug-ins/pygimp/pygimp.h (original)
+++ trunk/plug-ins/pygimp/pygimp.h Wed Sep 3 21:20:12 2008
@@ -31,6 +31,7 @@
typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN INT_MIN
+#define PyInt_AsSsize_t(o) PyInt_AsLong(o)
#endif
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]