comp.lang.ada
 help / color / mirror / Atom feed
From: Marius Amado-Alves <amado.alves@gmail.com>
Subject: Re: SDL Bindings?
Date: Sat, 4 Jan 2014 10:32:48 -0800 (PST)
Date: 2014-01-04T10:32:48-08:00	[thread overview]
Message-ID: <c21654e5-8aaf-4994-abcc-26dd2e11de16@googlegroups.com> (raw)
In-Reply-To: <1225369347410552014.162769laguest-archeia.com@nntp.aioe.org>

> It's better to wrap in C and bind to that. (Luke)

Yes, that's what I'm doing. With success:-)

The spec dump is useful to find the mangled names. Oliver I rethank you for reminding us of that tool.

/* I think the mangled names are necessary because the C wrapper around C++ is still C++.  What I do is write free functions with a C signature (prototype) but that inside access the C++ entities.  Then I bind the free functions. */

Thanks all.


  reply	other threads:[~2014-01-04 18:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-21  4:30 SDL Bindings? krfkeith
2013-09-21 16:51 ` Oliver Kleinke
2013-09-21 21:59 ` Luke A. Guest
2013-09-21 23:24 ` gautier_niouzes
2013-09-22  0:29   ` Luke A. Guest
2013-09-23  5:59   ` krfkeith
2013-09-24  9:25     ` Marius Amado-Alves
2013-09-25  5:38       ` Thomas Løcke
2014-01-02 14:32         ` Marius Amado-Alves
2014-01-02 18:29           ` Marius Amado-Alves
2014-01-02 19:04             ` Oliver Kleinke
2014-01-03 11:30               ` Marius Amado-Alves
2014-01-03 12:05               ` Marius Amado-Alves
2014-01-03 13:06                 ` Marius Amado-Alves
2014-01-04 11:02                   ` Oliver Kleinke
2014-01-04 18:16                     ` Luke A. Guest
2014-01-04 18:32                       ` Marius Amado-Alves [this message]
2014-01-04 22:12                         ` Luke A. Guest
2014-01-06  4:10                           ` Lucretia
2018-08-01 12:54                         ` Marius Amado-Alves
2018-08-01 15:11                           ` Jacob Sparre Andersen
2018-08-01 21:49                           ` Lucretia
2018-08-02 14:44                             ` Marius Amado-Alves
2013-09-25  0:39 ` krfkeith
replies disabled

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