~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_chk_map_pyx.pyx

Change 'no except' to 'cannot_raise'

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
_unknown = None
66
66
 
67
67
# We shouldn't just copy this from _dirstate_helpers_pyx
68
 
cdef void* _my_memrchr(void *s, int c, size_t n): # no except
 
68
cdef void* _my_memrchr(void *s, int c, size_t n): # cannot_raise
69
69
    # memrchr seems to be a GNU extension, so we have to implement it ourselves
70
70
    cdef char *pos
71
71
    cdef char *start