comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: OpenGL in Ada
Date: Tue, 13 Jul 2010 11:37:10 -0700 (PDT)
Date: 2010-07-13T11:37:10-07:00	[thread overview]
Message-ID: <660e41da-678e-4f49-9962-ba9a71acac6f@y11g2000yqm.googlegroups.com> (raw)
In-Reply-To: i1i90s$e25$2@news.ett.com.ua

According to OpenGL's specification (page 14):
These examples show the ANSI C declarations for these commands. In
general,
a command declaration has the form1
rtype Namef\x0f1234gf\x0f b s i i64 f d ub us ui ui64gf\x0fvg ( [args ,] T
arg1 , : : : , T argN [, args] );
rtype is the return type of the function. The braces (fg) enclose a
series of type
descriptors (see table 2.1), of which one is selected. \x0f indicates no
type descriptor.
The arguments enclosed in brackets ([args ,] and [, args]) may or may
not be
present. The N arguments arg1 through argN have type T, which
corresponds to
one of the type descriptors indicated in table 2.1 (if there are no
letters, then the
arguments’ type is given explicitly). If the final character is not v,
then N is given
by the digit 1, 2, 3, or 4 (if there is no digit, then the number of
arguments is fixed).
If the final character is v, then only arg1 is present and it is an
array of N values of
the indicated type.
For example,
void Uniformf1234gfifg( int location, T value );
indicates the eight declarations

The footnote reads:
"1The 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."

Therefore, the very spec that you are claiming to advocate says that I
*CAN* use Ada and "simpler declarations and fewer entry points."
If you're going to "language-lawyer" at least read the rules/specs
that your opponent is citing, otherwise you come off as a jerk who is
too [intellectually] lazy to actually consider the problems/statements
at hand.



  reply	other threads:[~2010-07-13 18:37 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08  2:42 OpenGL in Ada Shark8
2010-07-08 14:15 ` John B. Matthews
2010-07-09  2:18   ` anon
2010-07-12 16:51   ` Warren
2010-07-13 12:26     ` Ludovic Brenta
2010-07-13 13:13       ` Warren
2010-07-09 11:43 ` Gautier write-only
2010-07-09 15:11 ` Gene
2010-07-09 17:38   ` Shark8
2010-07-09 20:54     ` Gene
2010-07-12 17:04       ` Warren
2010-07-10  4:00     ` BrianG
2010-07-10 11:47       ` Gautier write-only
2010-07-11  2:45         ` BrianG
2010-07-11  4:10           ` Gautier write-only
2010-07-11  5:30       ` tmoran
2010-07-11 20:46         ` anon
2010-07-12 14:17           ` Shark8
2010-07-13  0:45             ` BrianG
2010-07-13 17:50               ` anon
2010-07-13 18:37                 ` Shark8 [this message]
2015-01-15  7:11 ` OpenGL in Ada #2 JillRivas
2015-01-30 14:45 ` OpenGL in Ada Lucretia
2015-01-30 18:41   ` David Botton
  -- strict thread matches above, loose matches on Subject: below --
2010-10-05 21:23 Yves Bailly
2010-10-06  3:45 ` anon
2010-10-06  5:10   ` Yves Bailly
2010-10-06  9:51     ` Alex R. Mosteo
2010-10-06 10:38       ` Yves Bailly
2010-10-06 10:59         ` Ludovic Brenta
2010-10-06 16:07           ` Pascal Obry
2010-10-06 17:32             ` Yves Bailly
2010-10-06  8:38 ` Gautier write-only
2010-10-07  1:52   ` BrianG
2010-10-07 22:06     ` Yves Bailly
2010-10-08 17:11     ` Shark8
2010-10-08 15:02 ` Lucretia
2010-10-08 20:42   ` Yves Bailly
2010-10-10 19:49     ` Vadim Godunko
2009-10-28 17:12 Opengl " Pablo
2009-10-28 18:01 ` Pascal Obry
2009-10-28 19:04   ` John B. Matthews
2009-10-29  6:11 ` Gautier write-only
2000-04-27  0:00 OpenGl in ADA Anderson
2000-04-27  0:00 ` 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