I have the other opinion, but it's not a very strong one.  I guess I don't
expect us to ever change the implementation.
The only reason to use a struct to encapsulate the output parameter here is
so that the API signature doesn't have to change if you add a field.
 Existing client code doesn't change, they just get a bigger package of
results.

It's not the V8 API's responsibility to enforce any particular style of
encapsulation on client code.

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to