~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_chk_map_pyx.pyx

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-01-06 20:48:26 UTC
  • mfrom: (4932.1.4 2.1.0rc1-pyrex-propagation)
  • Revision ID: pqm@pqm.ubuntu.com-20100106204826-rehs7s23w0jbz6nj
(jam) Clean up pyrex cdef functions to be aware of exceptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
_unknown = None
83
83
 
84
84
# We shouldn't just copy this from _dirstate_helpers_pyx
85
 
cdef void* _my_memrchr(void *s, int c, size_t n):
 
85
cdef void* _my_memrchr(void *s, int c, size_t n): # cannot_raise
86
86
    # memrchr seems to be a GNU extension, so we have to implement it ourselves
87
87
    cdef char *pos
88
88
    cdef char *start