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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ff38817118c33e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-09 04:16:03 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!algonet!pepsi.tninet.se!not-for-mail From: Stefan Skoglund Newsgroups: comp.lang.ada Subject: Re: Automatic generation of C bindings Date: Sat, 08 Sep 2001 14:23:43 +0200 Organization: Telenordia Message-ID: <3B9A0DCF.22A751A0@ebox.tninet.se> References: <3B8A8AA8.9B588C2A@raytheon.com> NNTP-Posting-Host: du3-153.ppp.algonet.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: cubacola.tninet.se 1000033937 5517 195.100.153.3 (9 Sep 2001 11:12:17 GMT) X-Complaints-To: abuse@algo.net NNTP-Posting-Date: 9 Sep 2001 11:12:17 GMT X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: sv,en,en-US Xref: archiver1.google.com comp.lang.ada:12943 Date: 2001-09-09T11:12:17+00:00 List-Id: Jano wrote: > My case was easy, in the end. My C sources are mainly #defines of > constants. (Ids of resources, for use in Win32). I've write a simple > translator (using Ada :) which, for now, suits my needs. But, that has > make me think of more general solutions, just in case... Usch , i usually writes such things as enums or static char constants, i try to avoid cpp in this case.