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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.97.1 with SMTP id j1mr11551511qan.6.1380549690905; Mon, 30 Sep 2013 07:01:30 -0700 (PDT) X-Received: by 10.50.110.6 with SMTP id hw6mr463631igb.13.1380549690823; Mon, 30 Sep 2013 07:01:30 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!q9no417323qas.0!news-out.google.com!9ni917qaf.0!nntp.google.com!a6no148557qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 30 Sep 2013 07:01:30 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2001:690:2200:9aa1:86d:fbc6:b721:6789; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY NNTP-Posting-Host: 2001:690:2200:9aa1:86d:fbc6:b721:6789 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Can someone who doesn't know C ever hope to write thick bindings for a C library to Ada? From: Marius Amado-Alves Injection-Date: Mon, 30 Sep 2013 14:01:30 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17355 Date: 2013-09-30T07:01:30-07:00 List-Id: You have to understand C types including function prototypes and their mapping to Ada types. Make a thin binding first using Interfaces, System, etc. Then a thick binding that uses only that. Example: http://sourceforge.net/p/aquaterm/git/ci/master/tree/adapters/ada/