~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_static_tuple_interned_pyx.pxd

  • Committer: John Arbash Meinel
  • Date: 2009-10-02 20:46:25 UTC
  • mto: (4679.6.1 2.1-export-c-api)
  • mto: This revision was merged to the branch mainline in revision 4735.
  • Revision ID: john@arbash-meinel.com-20091002204625-gt2jd8emij2wbw44
Implement the C variant of __iter__

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    cpdef int discard(self, key) except -1
39
39
    cdef int _insert_clean(self, PyObject *key) except -1
40
40
    cpdef Py_ssize_t _resize(self, Py_ssize_t min_unused) except -1
 
41
 
 
42
# TODO: might want to export the C api here, though it is all available from
 
43
#       the class object...
 
44
cdef api object StaticTupleInterner_Add(object self, object key)