comp.lang.ada
 help / color / mirror / Atom feed
From: "Egil Høvik" <egilhovik@hotmail.com>
Subject: Re: questions on Ada openGL binding in the GLOBE3D packages
Date: Thu, 2 Aug 2012 01:50:19 -0700 (PDT)
Date: 2012-08-02T01:50:19-07:00	[thread overview]
Message-ID: <b5a9a044-198c-472c-a107-104b26454d05@googlegroups.com> (raw)
In-Reply-To: <jvddr3$uqm$1@speranza.aioe.org>

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



       reply	other threads:[~2012-08-07  6:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jvddr3$uqm$1@speranza.aioe.org>
2012-08-02  8:50 ` Egil Høvik [this message]
2012-08-02  9:14   ` questions on Ada openGL binding in the GLOBE3D packages Nasser M. Abbasi
2012-08-02 10:19     ` Niklas Holsti
2012-08-02 10:46       ` Nasser M. Abbasi
2012-08-02 11:12         ` Egil Høvik
2012-08-02 11:56           ` Georg Bauhaus
2012-08-02 12:12             ` Vasiliy Molostov
2012-08-02 12:01           ` Vasiliy Molostov
2012-08-02 21:12         ` Randy Brukardt
2012-08-02 20:59       ` Randy Brukardt
2012-08-02 12:13     ` Brian Drummond
2012-08-02 15:01       ` Robert A Duff
2012-08-02 21:18         ` Randy Brukardt
2012-08-02 23:15           ` Robert A Duff
2012-08-02 15:31 ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox