[webkit-dev] WebKitIDL syntax: unsigned int

Adam Barth abarth at webkit.org
Thu Mar 15 13:46:52 PDT 2012

I recommend posting a patch and getting the appropriate folks to
review it rather than emailing all of webkit-dev for such a small


On Thu, Mar 15, 2012 at 10:34 AM, Seo Sanghyeon <sanxiyn at gmail.com> wrote:
> "unsigned int" is an invalid Type in WebIDL.
> {Int8,Uint8,Uint8Clamped,Int16,Uint16,Int32,Uint32,Float32,Float64}Array.idl
> define: const unsigned int BYTES_PER_ELEMENT.
> Latest Typed Array Specification defines BYTES_PER_ELEMENT as
> unsigned long.
> http://www.khronos.org/registry/typedarray/specs/latest/
> It seems to me that code generators ignore types of constants.
> Therefore fixing this should be harmless, but I want to make sure.
> Am I right?
> --
> Seo Sanghyeon
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list