Re: [Touch events] createTouchList should probably take a sequence, not an IDL array

On 1/7/13 8:40 AM, Arthur Barstow wrote:
> [[
> TouchList createTouchList (Touch... touches);
> ]]
>
> Is the above syntax correct?

Yes.

Note that Gecko is for now keeping both that signature and the 
sequence<Touch> signature.

> Also, is a single variadic method sufficient (i.e. the second "Touch
> touch" method in the CR is not needed)?

That's correct.  The variadic above allows passing any number of Touch 
arguments, including 1 or 0.

-Boris

Received on Monday, 7 January 2013 13:49:59 UTC