~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_c.pyx

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-24 05:10:33 UTC
  • mfrom: (3731.1.1 python2.4)
  • Revision ID: pqm@pqm.ubuntu.com-20080924051033-89pfepccns2637pr
(robertc) Allow C extensions to build on python2.4 with older pyrex
        versions. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
from bzrlib.dirstate import DirState
24
24
 
25
25
 
 
26
#python2.4 support
 
27
cdef extern from "python-compat.h":
 
28
    pass
 
29
 
26
30
# Give Pyrex some function definitions for it to understand.
27
31
# All of these are just hints to Pyrex, so that it can try to convert python
28
32
# objects into similar C objects. (such as PyInt => int).