~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_simple_set_pyx.pxd

  • Committer: John Arbash Meinel
  • Date: 2010-01-05 05:28:42 UTC
  • mto: This revision was merged to the branch mainline in revision 4936.
  • Revision ID: john@arbash-meinel.com-20100105052842-pegkjxr8pwec0ovn
Clean up _simple_set.pyx, and handle 'nogil'.

This took a bit more than I thought, as we had to start handling 'api'
and 'public api' definitions. As well as 'nogil'.
I'm a bit concerned that the regex is getting a bit complex, but it
seems to be finding what I want it to.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
cdef api int SimpleSet_Discard(object self, object key) except -1
89
89
cdef api PyObject *SimpleSet_Get(SimpleSet self, object key) except? NULL
90
90
cdef api Py_ssize_t SimpleSet_Size(object self) except -1
91
 
cdef api int SimpleSet_Next(object self, Py_ssize_t *pos, PyObject **key)
 
91
cdef api int SimpleSet_Next(object self, Py_ssize_t *pos, PyObject **key) except -1