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=-0.8 required=5.0 tests=BAYES_00,INVALID_MSGID, SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38d1fe109cd56c87 X-Google-Attributes: gid103376,public From: "Tarjei Jensen" Subject: Re: GNAT, LINUX, KDE Date: 1999/12/10 Message-ID: <82qogb$gmo2@ftp.kvaerner.com>#1/1 X-Deja-AN: 558956301 Content-Transfer-Encoding: 7bit References: <81k70k$197u$1@news.gate.net> <81lkb2$mra3@ftp.kvaerner.com> <81u97e$qkr1@ftp.kvaerner.com> <384F12C1.8C23EC7E@shadow.net> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Kv�rner Group IT Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-12-10T00:00:00+00:00 List-Id: Jeffrey L Straszheim wrote >Some portable way (or at least close to portable) to pull in >the C header files and pump out compatable Ada types would >be nice. It's a real nuisance to write a C wrapper function >that just munges the parameters to send them on to the actual >C library call. Any thoughts? It would be most useful if the C bindings contained the various data types. Creating ones own bindings would be easier that way and way more portable in many cases. E.g. automatic differentiating between 32 bit and 64 bit Unix, windows NT, etc. At one time I was planning a C program which would generate automagically a socket binding. However I found it impractical. I suppose it would be practical to create a C program which automagically generates definitions for various C data types. I am not thinking about automatically generating records, but their individual components. Just in case anybody asks; If I do it, it will be free as in gratis and I will do it in my own time. Greetings,