~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 19:51:59 UTC
  • mfrom: (4679.5.11 2.1-static-tuple-no-use)
  • Revision ID: pqm@pqm.ubuntu.com-20091012195159-n0de3utv1q92agvg
(jam) Implement a StaticTuple() class,
        with lighter memory and not in Python's GC.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
#ifndef Py_TYPE
78
78
#  define Py_TYPE(o) ((o)->ob_type)
79
79
#endif
 
80
#ifndef Py_REFCNT
 
81
#  define Py_REFCNT(o) ((o)->ob_refcnt)
 
82
#endif
80
83
 
81
84
#endif /* _BZR_PYTHON_COMPAT_H */