[webkit-dev] How to implement an API taking int or float array as function arguments?

Adam Barth abarth at webkit.org
Thu Mar 10 18:18:09 PST 2011

Generally, that's not really possible in WebKit.  If you look around,
you'll find some hacky examples, but this feature of WebIDL isn't
supported by our code generator and is flux in WebIDL proper.  If
there's a specific API you're having trouble implementing, I'd
recommend changing the API to not require this feature.


On Thu, Mar 10, 2011 at 6:09 PM, Won J Jeon <wjjeon at gmail.com> wrote:
> Hi all,
> I'm looking for a good example of how to implement an API in IDL and source
> code in WebCore, which takes integer or float array as function arguments
> from JavaScript. I appreciate your help.
> Regards,
> Won
> _______________________________________________
> 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