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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bae62a394f8c9d83 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail From: "Lucretia" Newsgroups: comp.lang.ada Subject: Re: ada binding Date: 11 Feb 2006 04:45:42 -0800 Organization: http://groups.google.com Message-ID: <1139661942.036236.299790@g47g2000cwa.googlegroups.com> References: <1142859.ZZbdis6YEU@linux1.krischik.com> <3220036.snWfkaaEov@linux1.krischik.com> <1221871.QKqVdVGWoD@linux1.krischik.com> NNTP-Posting-Host: 194.74.199.42 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1139661947 27569 127.0.0.1 (11 Feb 2006 12:45:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 11 Feb 2006 12:45:47 +0000 (UTC) In-Reply-To: <1221871.QKqVdVGWoD@linux1.krischik.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 Symantec_Web_Security (3.0.1.74), 1.0 C2100-0050414028 (NetCache NetApp/5.6.2R1) Complaints-To: groups-abuse@google.com Injection-Info: g47g2000cwa.googlegroups.com; posting-host=194.74.199.42; posting-account=G-J9fgwAAADgpzBiEyy5tO4f8MX5fbpw Xref: g2news1.google.com comp.lang.ada:2860 Date: 2006-02-11T04:45:42-08:00 List-Id: 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.