From: Tom Tromey <tromey@redhat.com>
To: vanboxem.ruben@gmail.com
Cc: gdb-patches@sourceware.org,
mingw64 <mingw-w64-public@lists.sourceforge.net>
Subject: Re: [PATCH] 64-bit python support
Date: Tue, 10 May 2011 14:38:00 -0000 [thread overview]
Message-ID: <m34o52sjrq.fsf@fleche.redhat.com> (raw)
In-Reply-To: <BANLkTikrs+AFqqiQEwQfmD=c3wicjSdWYA__43532.2708603509$1305037944$gmane$org@mail.gmail.com> (Ruben Van Boxem's message of "Tue, 10 May 2011 16:31:52 +0200")
>>>>> "Ruben" == Ruben Van Boxem <vanboxem.ruben@gmail.com> writes:
Ruben> Ah, I didn't know this, that's indeed very handy, but the two
Ruben> occurrences in my patch are actually still a call to Py_InitModule
Ruben> without the "4". Then that probably needs to be patched instead?
No, there's a later define for that in modsupport.h:
#define Py_InitModule(name, methods) \
Py_InitModule4(name, methods, (char *)NULL, (PyObject *)NULL, \
PYTHON_API_VERSION)
I think the thing to do is track down why the Python headers are picking
the wrong function name for you.
Tom
next prev parent reply other threads:[~2011-05-10 14:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BANLkTi=2gphWs2p_5V+wTJMUAkjHDT79uQ__10646.2358417504$1305032253$gmane$org@mail.gmail.com>
2011-05-10 14:29 ` Tom Tromey
2011-05-10 14:32 ` Ruben Van Boxem
[not found] ` <BANLkTikrs+AFqqiQEwQfmD=c3wicjSdWYA__43532.2708603509$1305037944$gmane$org@mail.gmail.com>
2011-05-10 14:38 ` Tom Tromey [this message]
2011-05-10 15:03 ` Ruben Van Boxem
2011-05-10 12:57 Ruben Van Boxem
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=m34o52sjrq.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=mingw-w64-public@lists.sourceforge.net \
--cc=vanboxem.ruben@gmail.com \
/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