/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to _groupcompress_pyx.pyx

  • Committer: John Arbash Meinel
  • Date: 2009-03-03 18:10:57 UTC
  • mto: (0.17.31 trunk)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090303181057-i1239vipqi27fxbs
Remove the multi-index handling now that we have index combining instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        # struct index_entry *hash[]
37
37
    delta_index * create_delta_index(source_info *src, delta_index *old)
38
38
    void free_delta_index(delta_index *index)
39
 
    void *create_delta(delta_index **indexes,
40
 
             unsigned int num_indexes,
 
39
    void *create_delta(delta_index *indexes,
41
40
             void *buf, unsigned long bufsize,
42
41
             unsigned long *delta_size, unsigned long max_delta_size)
43
42
    unsigned long get_delta_hdr_size(unsigned char **datap,
180
179
        # TODO: inline some of create_delta so we at least don't have to double
181
180
        #       malloc, and can instead use PyString_FromStringAndSize, to
182
181
        #       allocate the bytes into the final string
183
 
        delta = create_delta(&self._index, 1,
 
182
        delta = create_delta(self._index,
184
183
                             target, target_size,
185
184
                             &delta_size, max_delta_size)
186
185
        result = None