From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,e793d50ead4087cc X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.109.162 with SMTP id ht2mr9870453wib.1.1356839709341; Sat, 29 Dec 2012 19:55:09 -0800 (PST) Path: i11ni337459wiw.0!nntp.google.com!feeder3.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!goblin1!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Thickening Ada GTK or Vala Binding ? Date: Thu, 27 Dec 2012 22:58:33 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <0c94b952-2bdf-4f25-98a3-91a67ed2355d@googlegroups.com> Mime-Version: 1.0 Injection-Date: Thu, 27 Dec 2012 22:58:33 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="dfff62e1e537b55df42008571c03e0fe"; logging-data="15129"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iAzPOr5qNqKvtCAtpwv/qj+9jc80hcio=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:D90q7gjOMG7O6UYDBv2ykSQiUwY= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-12-27T22:58:33+00:00 List-Id: 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