[webkit-dev] Removing Custom bindings for type array.

Žan Doberšek zandobersek at gmail.com
Wed Mar 14 09:06:55 PDT 2012

On Wed, Mar 14, 2012 at 1:30 PM, Vineet Chaudhary <rgf748 at motorola.com>wrote:

>  All of them returns type JSArray for (JS engine) and V8Arrays for the
> (V8 engine).
> I have wip attached in the bug ,modifying CodeGenerator for JS and V8 to
> auto generate bindings which works fine fine.
> But it fails for the Gtk because of the GObject bindings.

The GObject bindings would probably use a GLib-specific array structure,
the GArray, meaning some additional hacking would be required on
CodeGeneratorGObject.pm. I can help with that once it is clear how the
array type should be implemented in JS and V8 generators.

> To resolve this issue I am thinking of adding WebKitDOMArray.h and
> WebKitDOMArray.cpp to WebCore/bindings so that It can generate the
> appropriate binding.
> Can someone please advice if this the correct way of doing this or there
> is any other approach to do this.
> Thanks,
> Vineet
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120314/403cc728/attachment.html>

More information about the webkit-dev mailing list