Rev 3673: PQM's pyrex version requires Py_ssize_t to be manually defined in http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/btree_submitted

John Arbash Meinel john at arbash-meinel.com
Fri Aug 22 04:54:31 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/btree_submitted

------------------------------------------------------------
revno: 3673
revision-id: john at arbash-meinel.com-20080822035429-qa604ysmpghwzcs3
parent: john at arbash-meinel.com-20080822022908-420tr0519tdz6pxy
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: btree_submitted
timestamp: Thu 2008-08-21 22:54:29 -0500
message:
  PQM's pyrex version requires Py_ssize_t to be manually defined
modified:
  bzrlib/_btree_serializer_c.pyx _parse_btree_c.pyx-20080703034413-3q25bklkenti3p8p-2
-------------- next part --------------
=== modified file 'bzrlib/_btree_serializer_c.pyx'
--- a/bzrlib/_btree_serializer_c.pyx	2008-08-22 02:18:27 +0000
+++ b/bzrlib/_btree_serializer_c.pyx	2008-08-22 03:54:29 +0000
@@ -21,6 +21,7 @@
     ctypedef unsigned size_t
 
 cdef extern from "Python.h":
+    ctypedef int Py_ssize_t # Required for older pyrex versions
     ctypedef struct PyObject:
         pass
     int PyList_Append(object lst, object item) except -1



More information about the bazaar-commits mailing list