~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/python-compat.h

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-10-12 17:54:40 UTC
  • mfrom: (4679.3.94 2.1-simple-set)
  • Revision ID: pqm@pqm.ubuntu.com-20091012175440-ev0bsp43dxi6dt6b
(jam) Add the SimpleSet class,
        will be used for interning StaticTuple objects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
#define  snprintf  _snprintf
74
74
#endif
75
75
 
 
76
/* Introduced in Python 2.6 */
 
77
#ifndef Py_TYPE
 
78
#  define Py_TYPE(o) ((o)->ob_type)
 
79
#endif
 
80
 
76
81
#endif /* _BZR_PYTHON_COMPAT_H */