[webkit-dev] WebKitIDL syntax: unsigned int

Seo Sanghyeon sanxiyn at gmail.com
Thu Mar 15 10:34:41 PDT 2012


"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


More information about the webkit-dev mailing list