~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_groupcompress_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:
279
279
 
280
280
 
281
281
cdef unsigned char *_decode_copy_instruction(unsigned char *bytes,
282
 
    unsigned char cmd, unsigned int *offset, unsigned int *length) nogil:
 
282
    unsigned char cmd, unsigned int *offset,
 
283
    unsigned int *length) nogil: # cannot_raise
283
284
    """Decode a copy instruction from the next few bytes.
284
285
 
285
286
    A copy instruction is a variable number of bytes, so we will parse the