comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Thickening Ada GTK or Vala Binding ?
Date: Thu, 27 Dec 2012 22:58:33 +0000 (UTC)
Date: 2012-12-27T22:58:33+00:00	[thread overview]
Message-ID: <kbijqp$eop$1@dont-email.me> (raw)
In-Reply-To: 0c94b952-2bdf-4f25-98a3-91a67ed2355d@googlegroups.com

On Thu, 27 Dec 2012 09:45:40 -0800, Patrick wrote:

> So I am still going around in circles with the front end of my two
> projects. I am however learning new things with each revolution.
> 
>  I would however have to wrap each C++ callback in C in
> order to bind to Ada and that looked painful.

Why would you have to? It is possible to bind C++ directly to Ada. It's 
not quite as pretty because the import pragmas have to specify the C++ 
mangled name (they translate from a sensible name) but 
"gcc -fdump-ada-spec myheader.hpp" does most of the work for you.

- Brian



  parent reply	other threads:[~2012-12-27 22:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-27 17:45 Thickening Ada GTK or Vala Binding ? Patrick
2012-12-27 19:07 ` Dmitry A. Kazakov
2012-12-27 21:53   ` Patrick
2012-12-28  7:57     ` Dmitry A. Kazakov
2012-12-28 23:51       ` Randy Brukardt
2013-01-13  6:24         ` gautier_niouzes
2013-01-15  0:34           ` Randy Brukardt
2012-12-27 22:58 ` Brian Drummond [this message]
2012-12-27 23:06   ` Patrick
2012-12-28  9:53     ` Brian Drummond
2012-12-28  0:53 ` Robert Matthews
2012-12-28  1:41   ` Patrick
2012-12-28  2:03     ` Robert Matthews
2012-12-28  5:22 ` Vadim Godunko
2012-12-28  7:38   ` Vadim Godunko
2013-02-07  9:34   ` Gour
2013-02-08  6:49     ` Gour
2012-12-28 11:34 ` Justin Time
2012-12-28 23:56   ` Randy Brukardt
2013-01-11  1:40     ` Saulo
2013-01-11 12:02       ` Jacob Sparre Andersen
2013-01-11 20:14         ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox