public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Hannes Domani <ssbssa@yahoo.de>
To: Tom Tromey <tom@tromey.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Allow calling of C++ methods from python
Date: Thu, 8 Feb 2024 19:11:13 +0000 (UTC)	[thread overview]
Message-ID: <318030669.73494.1707419473395@mail.yahoo.com> (raw)
In-Reply-To: <87h6iiapij.fsf@tromey.com>

 Am Donnerstag, 8. Februar 2024 um 17:29:11 MEZ hat Tom Tromey <tom@tromey.com> Folgendes geschrieben:

> >>>>> "Hannes" == Hannes Domani <ssbssa@yahoo.de> writes:
>
> Hannes> Currently it's not possible to call C++ methods from python.
>
> Hannes> Note that it's necessary to explicitely add the this pointer
> Hannes> as the first argument in a call of non-static methods:
>
> While I think it would be good to handle overloading, it occurs to me
> that we don't really try to do this for global calls either.  And, the
> approach you've taken here does not prevent future improvements.
>
> So, I think this is ok.  Thank you.
>
> Approved-By: Tom Tromey <tom@tromey.com>

Pushed, thanks.


Hannes

      reply	other threads:[~2024-02-08 19:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20231215151938.3887-1-ssbssa.ref@yahoo.de>
2023-12-15 15:19 ` Hannes Domani
2023-12-16  0:30   ` Tom Tromey
2023-12-16 11:40     ` Hannes Domani
2024-01-03 10:38       ` Hannes Domani
2024-01-17 15:52         ` Hannes Domani
2024-01-26 17:02           ` Hannes Domani
2024-02-08 16:29   ` Tom Tromey
2024-02-08 19:11     ` Hannes Domani [this message]

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=318030669.73494.1707419473395@mail.yahoo.com \
    --to=ssbssa@yahoo.de \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).