On 8/30/12 4:16 AM, Ms2ger wrote:
It certainly looks nicer, but I'm not a big fan of complicating the
rules for assembling the C++ signature from the WebIDL. XPIDL's
consistency here, IMO, saves time when implementing an interface: you
can focus on the actual implementation, rather than the binding code.

One of the goals, honestly, is to have the xpidl getters look exactly like the C++ getters you'd have if you just wrote C++ getters (or for that matter like the ones you probably already have).

That is, ideally WebIDL maps to the API you'd pick for your C++ class for C++ consumers anyway.

-Boris

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to