From: Pedro Alves <palves@redhat.com>
To: Julian Smith <jules@op59.net>
Cc: gdb@sourceware.org
Subject: Re: Building current gdb on centos-5
Date: Thu, 30 May 2013 08:14:00 -0000 [thread overview]
Message-ID: <51A70A3F.5060901@redhat.com> (raw)
In-Reply-To: <51A708FA.1070404@redhat.com>
On 05/30/2013 09:08 AM, Pedro Alves wrote:
> For the archives, could you please paste what Py_DECREF looks
> like in 2.4? Thanks!
Nevermind, downloading the 2.4.6's sources only took a minute. :-)
2.4:
#define Py_DECREF(op) \
if (_Py_DEC_REFTOTAL _Py_REF_DEBUG_COMMA \
--(op)->ob_refcnt != 0) \
_Py_CHECK_REFCNT(op) \
else \
_Py_Dealloc((PyObject *)(op))
2.7:
#define Py_DECREF(op) \
do { \
if (_Py_DEC_REFTOTAL _Py_REF_DEBUG_COMMA \
--((PyObject*)(op))->ob_refcnt != 0) \
_Py_CHECK_REFCNT(op) \
else \
_Py_Dealloc((PyObject *)(op)); \
} while (0)
--
Pedro Alves
next prev parent reply other threads:[~2013-05-30 8:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 21:35 Julian Smith
2013-05-30 8:08 ` Pedro Alves
2013-05-30 8:14 ` Pedro Alves [this message]
2013-05-30 8:35 ` Julian Smith
2013-05-30 8:59 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51A70A3F.5060901@redhat.com \
--to=palves@redhat.com \
--cc=gdb@sourceware.org \
--cc=jules@op59.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox