/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 bzrlib/_static_tuple_c.pxd

  • Committer: Andrew Bennetts
  • Date: 2009-10-28 00:12:03 UTC
  • mfrom: (4774 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4775.
  • Revision ID: andrew.bennetts@canonical.com-20091028001203-m7lgs1wtnilgo3br
Merge lp:bzr, resolving NEWS conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
    # Steals a reference and val must be a valid type, no checking is done
38
38
    void StaticTuple_SET_ITEM(StaticTuple key, Py_ssize_t offset, object val)
39
 
    object StaticTuple_GET_ITEM(StaticTuple key, Py_ssize_t offset)
 
39
    # We would normally use PyObject * here. However it seems that cython/pyrex
 
40
    # treat the PyObject defined in this header as something different than one
 
41
    # defined in a .pyx file. And since we don't INCREF, we need a raw pointer,
 
42
    # not an 'object' return value.
 
43
    void *StaticTuple_GET_ITEM(StaticTuple key, Py_ssize_t offset)
40
44
    int StaticTuple_CheckExact(object)