~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_static_tuple_c.pxd

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-08-24 23:20:14 UTC
  • mfrom: (5365.5.29 2.3-btree-chk-leaf)
  • Revision ID: pqm@pqm.ubuntu.com-20100824232014-nu9owzel2zym2jk2
(jam) Use a custom C type for CHK index entries, saves memory

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    int import_static_tuple_c() except -1
34
34
    StaticTuple StaticTuple_New(Py_ssize_t)
35
35
    StaticTuple StaticTuple_Intern(StaticTuple)
 
36
    StaticTuple StaticTuple_FromSequence(object)
36
37
 
37
38
    # Steals a reference and val must be a valid type, no checking is done
38
39
    void StaticTuple_SET_ITEM(StaticTuple key, Py_ssize_t offset, object val)