[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] PATCH: rect.c calls Py_RETURN_TRUE - not supported in python 2.3
- To: pygame-users@xxxxxxxx
- Subject: [pygame] PATCH: rect.c calls Py_RETURN_TRUE - not supported in python 2.3
- From: "Brian Fisher" <brian@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 19 Aug 2007 14:11:14 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 19 Aug 2007 17:11:22 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=MAC5qtAccOnrRTSiCdba4oxTZEG/q79x5ty2fMWJCBnTFrojUD2uu2Rb8KReIVX5s7n3/2Sl48RzLKYZEJqHMS8bZ4pob8fw89MNv0GSArSq1Ahkn9WdvxBQwhIweghCgXS9BR1hEFj/JwM7nRLVR1NKURILI7p49pR6CmeW0ks=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=GENMFdP6Ec+yMJDDYlZArZz61N1PGT22LbTeHiL/gEK4SbsxMP5jcRLM41CxpPa7M+tihu3UI0/jtDZbz6piq8KpMobHjvkQ5VkF94i2Kq9PZZPY7XD4QtvX/HZTfzD4FEPPlX0a/x8SpkhU0NQpeDcw3p9h8Fu7B2K95+HHNaM=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
rect.c doesn't compile for python 2.3 cause it calls Py_RETURN_TRUE, a
new convenience thing for python 2.4 and above.
This patch calls PyBool_FromLong(-1); which is supported in python 2.3
Attachment:
RemovePython24CallFromRect.patch
Description: Binary data