W3C home > Mailing lists > Public > public-webevents@w3.org > January to March 2013

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 07 Jan 2013 08:49:29 -0500
Message-ID: <50EAD269.3070404@mit.edu>
To: Arthur Barstow <art.barstow@nokia.com>
CC: ext Rick Byers <rbyers@google.com>, Sangwhan Moon <smoon@opera.com>, public-webevents@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 January 2013 13:50:00 GMT