spidermonkey API addition...
Omega <[email protected]>
| Newsgroups | gmane.comp.mozilla.wishlist |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
I'd love to see a void pointer added to the JSPropertySpec data type so that the functions denoted by "JSPropertyOp getter;" and "JSPropertyOp setter;" could easily know what they are to wrap. This would not only make creating highly generic getter/setters a snap, it would put the relationship where it belongs instead of forcing the API-user to come up with unintuitive (not to mention redundant in the face of an array of JSPropertySpec records) solutions based around tinyid. Some of the solutions I've heard suggested so far are very uncharacteristic of my experience with the spidermonkey API.