comp.lang.ada
 help / color / mirror / Atom feed
From: "Lucretia" <lucretia9@lycos.co.uk>
Subject: Re: ada binding
Date: 11 Feb 2006 04:45:42 -0800
Date: 2006-02-11T04:45:42-08:00	[thread overview]
Message-ID: <1139661942.036236.299790@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <1221871.QKqVdVGWoD@linux1.krischik.com>


Martin Krischik wrote:
> sg wrote:
>
> > Well... if this is the only way, so I think that there a very little
> > chance for having the wxWindows Ada binding
>
> Or any other binding. I don't think an Ada binding to wxWindows  is more
> work then a Fortran 2003 binding would be (once Fortan 2003 becomes
> available).

Have no clue about this ;-D

> And it's the same for any large C++ library. There are several large
> projects for KDE which want to make KDE available to other languages. Most
> of those use then C/Proxy class approach as well.

It's the easiest, most portable method.

> The problem is that the C++ compilation model does not lend itself to
> automated generation of binding files. All the #if, #defined and #include
> are in the way. At least the usual implementation of #include - the ISO
> standard  allows implementations not using a plain text file.

Yup, in wxAda, I've decided to add dummy primitives where functions
differ for different platforms. For example, there is a function in
wxFrame (can't remember which one off the top of my head) which is only
available under Win32, so in wxAda I just have a null sub program for
other platforms, calling it isn't really going to matter and will only
effect Win32.

Luke.




  reply	other threads:[~2006-02-11 12:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-09 12:56 ada binding Szymon Guz
2006-02-09 14:31 ` Maciej Sobczak
2006-02-09 15:56   ` Szymon Guz
2006-02-09 16:39     ` Georg Bauhaus
2006-02-09 17:17     ` Martin Krischik
2006-02-09 18:05       ` Szymon Guz
2006-02-09 19:34         ` Martin Krischik
2006-02-09 19:37           ` sg
2006-02-11  6:52             ` Martin Krischik
2006-02-11 12:45               ` Lucretia [this message]
2006-02-09 19:28       ` Martin Dowie
2006-02-10 16:06 ` Lucretia
replies disabled

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