Rev 3646: PQM's pyrex needs a Py_ssize_t typedef. in http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/dirstate_segv_186014
John Arbash Meinel
john at arbash-meinel.com
Tue Sep 2 20:15:58 BST 2008
At http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/dirstate_segv_186014
------------------------------------------------------------
revno: 3646
revision-id: john at arbash-meinel.com-20080902191557-s88j283bmnnnlvhr
parent: john at arbash-meinel.com-20080902185103-camvrjyw7a9efpno
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: dirstate_segv_186014
timestamp: Tue 2008-09-02 14:15:57 -0500
message:
PQM's pyrex needs a Py_ssize_t typedef.
-------------- next part --------------
=== modified file 'bzrlib/_dirstate_helpers_c.pyx'
--- a/bzrlib/_dirstate_helpers_c.pyx 2008-09-02 18:51:03 +0000
+++ b/bzrlib/_dirstate_helpers_c.pyx 2008-09-02 19:15:57 +0000
@@ -51,6 +51,7 @@
# inner loops, we don't need to do that at all, as the reference only lasts for
# a very short time.
cdef extern from "Python.h":
+ ctypedef int Py_ssize_t
int PyList_Append(object lst, object item) except -1
void *PyList_GetItem_object_void "PyList_GET_ITEM" (object lst, int index)
int PyList_CheckExact(object)
More information about the bazaar-commits
mailing list