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,ffe4fb1477fe67e6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.germany.com!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Re: Newbie Needs Ada Advice Date: Tue, 08 May 2007 21:43:13 +0200 Organization: 1&1 Internet AG Message-ID: References: <1178212418.538270.283700@c35g2000hsg.googlegroups.com> <1178635220.859690.3310@y80g2000hsf.googlegroups.com> <5abtplF2n3855U1@mid.individual.net> <1178650313.462774.91850@e51g2000hsg.googlegroups.com> NNTP-Posting-Host: p57b606b1.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: online.de 1178653394 14098 87.182.6.177 (8 May 2007 19:43:14 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Tue, 8 May 2007 19:43:14 +0000 (UTC) X-message-flag: IMPORTANT MESSAGE -- PLEASE READ IMMEDIATELY!!! X-Accepted-File-Formats: ASCII, .rtf, .ps, .pdf - *NO* MS Office files User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Xref: g2news1.google.com comp.lang.ada:15657 Date: 2007-05-08T21:43:13+02:00 List-Id: Michael Bode writes: > That's not a big problem. Usually these libs have tons and tons of > functions of which you need only a handful in your app. Writing an Ada > binding for these is easy. I forgot to mention you will encounter funny things in these libs from our C friends like 'unsigned int func()' which return negative values as error codes or functions like func(char* c) which write to the character array *c without any implied or explicit knowledge about the buffer size. -- No intelligent man has any respect for an unjust law. He simply follows the eleventh commandment. -- R.A. Heinlein