~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_static_tuple_c.pxd

  • Committer: Neil Martinsen-Burrell
  • Date: 2010-01-28 15:19:45 UTC
  • mto: (5003.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5004.
  • Revision ID: nmb@wartburg.edu-20100128151945-m7b8g17wpa5sjn7n
better error message for bzr bind on and already bound branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2009 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
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)
37
36
 
38
37
    # Steals a reference and val must be a valid type, no checking is done
39
38
    void StaticTuple_SET_ITEM(StaticTuple key, Py_ssize_t offset, object val)
43
42
    # not an 'object' return value.
44
43
    void *StaticTuple_GET_ITEM(StaticTuple key, Py_ssize_t offset)
45
44
    int StaticTuple_CheckExact(object)
46
 
    Py_ssize_t StaticTuple_GET_SIZE(StaticTuple key)