/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 breezy/_bencode_pyx.pyx

  • Committer: Jelmer Vernooij
  • Date: 2017-06-06 01:10:48 UTC
  • mto: (6656.2.4 integrate-bisect)
  • mto: This revision was merged to the branch mainline in revision 6674.
  • Revision ID: jelmer@jelmer.uk-20170606011048-ahf4exo5kvy3mwt1
Drop pyrex support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Pyrex implementation for bencode coder/decoder"""
18
18
 
 
19
from __future__ import absolute_import
19
20
 
20
21
cdef extern from "stddef.h":
21
22
    ctypedef unsigned int size_t
58
59
    void D_UPDATE_TAIL(Decoder, int n)
59
60
    void E_UPDATE_TAIL(Encoder, int n)
60
61
 
61
 
# To maintain compatibility with older versions of pyrex, we have to use the
62
 
# relative import here, rather than 'breezy._static_tuple_c'
63
 
from _static_tuple_c cimport StaticTuple, StaticTuple_CheckExact, \
 
62
from ._static_tuple_c cimport StaticTuple, StaticTuple_CheckExact, \
64
63
    import_static_tuple_c
65
64
 
66
65
import_static_tuple_c()