/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2017-06-10 00:09:19 UTC
  • mfrom: (6665.1.4 cython-only)
  • Revision ID: breezy.the.bot@gmail.com-20170610000919-1v2kz98d2cr4wnaz
Drop support for pyrex.

Merged from https://code.launchpad.net/~jelmer/brz/drop-pyrex/+merge/325137

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()