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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,43d910f082521047 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.77.1 with SMTP id o1mr1494276paw.29.1344321873745; Mon, 06 Aug 2012 23:44:33 -0700 (PDT) Path: g9ni2908300pbo.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!ctu-peer!ctu-gate!news.nctu.edu.tw!usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Egil_H=F8vik?= Newsgroups: comp.lang.ada Subject: Re: questions on Ada openGL binding in the GLOBE3D packages Date: Thu, 2 Aug 2012 01:50:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 193.71.180.107 Mime-Version: 1.0 X-Trace: posting.google.com 1343897419 12049 127.0.0.1 (2 Aug 2012 08:50:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 2 Aug 2012 08:50:19 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.71.180.107; posting-account=P68zsgoAAABKpXKMUuwuUZ_RfBk1kZfB User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-08-02T01:50:19-07:00 List-Id: >From the OpenGL spec: "The declarations shown in this document apply to ANSI C. Languages such as C++ and Ada that allow passing of argument type information admit simpler declarations and fewer entry points." So no, the names in an Ada-binding does not have to exactly match the C version. As for GL_Begin and GL_End, they should have been called just Begin and End, but those are reserved words in Ada. -- ~egilhh