~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_static_tuple_c.h

  • Committer: John Arbash Meinel
  • Date: 2009-10-02 15:51:03 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-20091002155103-6wgtx9aosbx99m77
Capitolize StaticTuple_Intern to conform more to the python C apis.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
/* Used when compiling _static_tuple_c.c */
76
76
 
77
77
static StaticTuple * StaticTuple_New(Py_ssize_t);
78
 
static StaticTuple * StaticTuple_intern(StaticTuple *self);
 
78
static StaticTuple * StaticTuple_Intern(StaticTuple *self);
79
79
#define StaticTuple_CheckExact(op) (Py_TYPE(op) == &StaticTuple_Type)
80
80
 
81
81
#else
84
84
#include "_import_c_api.h"
85
85
 
86
86
static StaticTuple *(*StaticTuple_New)(Py_ssize_t);
87
 
static StaticTuple *(*StaticTuple_intern)(StaticTuple *);
 
87
static StaticTuple *(*StaticTuple_Intern)(StaticTuple *);
88
88
static PyTypeObject *_p_StaticTuple_Type;
89
89
 
90
90
#define StaticTuple_CheckExact(op) (Py_TYPE(op) == _p_StaticTuple_Type)
98
98
    struct function_description functions[] = {
99
99
        {"StaticTuple_New", (void **)&StaticTuple_New,
100
100
            "StaticTuple *(Py_ssize_t)"},
101
 
        {"StaticTuple_intern", (void **)&StaticTuple_intern,
 
101
        {"StaticTuple_Intern", (void **)&StaticTuple_Intern,
102
102
            "StaticTuple *(StaticTuple *)"},
103
103
        {"_StaticTuple_CheckExact", (void **)&_StaticTuple_CheckExact,
104
104
            "int(PyObject *)"},