~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_chk_map_pyx.pyx

Revert back to before I started trying to move to pyrex/cython code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 
62
62
# It seems we need to import the definitions so that the pyrex compiler has
63
63
# local names to access them.
64
 
# from _static_tuple_pyx cimport StaticTuple, StaticTuple_New, \
65
 
#     StaticTuple_Intern, StaticTuple_SET_ITEM, StaticTuple_CheckExact
66
 
 
 
64
from _static_tuple_c cimport StaticTuple,\
 
65
    import_static_tuple_c, STATIC_TUPLE_ALL_STRING, StaticTuple_New, \
 
66
    StaticTuple_Intern, StaticTuple_SET_ITEM, StaticTuple_CheckExact
 
67
 
 
68
 
 
69
from bzrlib import _static_tuple_c
 
70
# This sets up the StaticTuple C_API functionality
 
71
if import_static_tuple_c() != 0:
 
72
    raise ImportError('der borken')
67
73
 
68
74
cdef object _LeafNode
69
75
_LeafNode = None