~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_btree_serializer_c.pyx

  • Committer: Robert Collins
  • Date: 2008-09-19 06:53:41 UTC
  • mto: (3696.5.1 commit-updates)
  • mto: This revision was merged to the branch mainline in revision 3741.
  • Revision ID: robertc@robertcollins.net-20080919065341-5t5w1p2gi926nfia
First cut - make it work - at updating the tree stat cache during commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    ctypedef unsigned size_t
22
22
 
23
23
cdef extern from "Python.h":
 
24
    ctypedef int Py_ssize_t # Required for older pyrex versions
24
25
    ctypedef struct PyObject:
25
26
        pass
26
27
    int PyList_Append(object lst, object item) except -1