public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Tom Kacvinsky <tkacvins@gmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Correct way to provide a C callback function nside C++
Date: Fri, 27 Jan 2023 13:51:16 +0000	[thread overview]
Message-ID: <CAH6eHdRT=RW0Le3RB-Zg7eYg1JRM867jp6bbN-qjZEwOaTxVmg@mail.gmail.com> (raw)
In-Reply-To: <CAG_eJLcsO=DCB+T80kTuMO9mu_G82y-j0zvGOAMV5-iJyUmZPg@mail.gmail.com>

On Fri, 27 Jan 2023 at 13:49, Tom Kacvinsky via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
> You can do a callback (using function pointers) in C++ code.
>
> https://en.cppreference.com/w/cpp/language/pointer

That's not what the OP is asking about though.

  reply	other threads:[~2023-01-27 13:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 13:23 Pepe
2023-01-27 13:48 ` Tom Kacvinsky
2023-01-27 13:51   ` Jonathan Wakely [this message]
2023-01-27 14:07 ` Jonathan Wakely
2023-01-27 14:29   ` Michael Pape
2023-01-27 14:30   ` Xi Ruoyao
2023-01-27 15:32     ` Jonathan Wakely

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='CAH6eHdRT=RW0Le3RB-Zg7eYg1JRM867jp6bbN-qjZEwOaTxVmg@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=tkacvins@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).