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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5b7ee26df9f9c357 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Path: g2news1.google.com!postnews.google.com!y11g2000yqm.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: OpenGL in Ada Date: Tue, 13 Jul 2010 11:37:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <660e41da-678e-4f49-9962-ba9a71acac6f@y11g2000yqm.googlegroups.com> References: NNTP-Posting-Host: 174.28.249.234 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1279046231 11914 127.0.0.1 (13 Jul 2010 18:37:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Jul 2010 18:37:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y11g2000yqm.googlegroups.com; posting-host=174.28.249.234; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.10) Gecko/20100504 Firefox/3.5.10 ( .NET CLR 3.5.30729; .NET CLR 4.0.20506),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12396 Date: 2010-07-13T11:37:10-07:00 List-Id: 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=0F1234gf=0F b s i i64 f d ub us ui ui64gf=0Fvg ( [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. =0F 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=92 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.