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?


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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:09:34 UTC