[Public WebGL] Use of invalid type "unsigned byte" in the WebGL idl

Kenneth Russell [email protected]
Mon Apr 2 14:53:58 PDT 2012


Yes, the use of this undefined type was somewhat deliberate in the
past, but agree that the IDL should parse with under the current Web
IDL.

Updated the Editor's Drafts of the WebGL and Typed Array specs as well
as the associated IDL files. Thanks for pointing this out and please
post if there are any issues with the edits.

-Ken


On Sat, Mar 31, 2012 at 7:32 AM, Boris Zbarsky <[email protected]> wrote:
>
> The relevant line is:
>
>  typedef unsigned byte  GLubyte;
>
> Quite apart from GLubyte being unused in the spec, this is not valid WebIDL.
>  There is no "unsigned byte" type in WebIDL; there is a "byte" type for
> integers in [-128,127] and an "octet" type for integers in [0,255].
>  Presumably this typedef, if needed at all, should be "typedef octet
> GLubyte;".
>
> -Boris
>
> -----------------------------------------------------------
> You are currently subscribed to [email protected]
> To unsubscribe, send an email to [email protected] with
> the following command in the body of your email:
> unsubscribe public_webgl
> -----------------------------------------------------------
>

-----------------------------------------------------------
You are currently subscribed to [email protected]
To unsubscribe, send an email to [email protected] with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------





More information about the public_webgl mailing list