In order to make calling certain functions from JS easier, I have created a patch in bug 382034 which adds support for optional arguments defined in idl.
For instance:
AString readString(in unsigned long aCount,
[optional] in AString aCharSet);
When called from JS, the aCharSet argument is optional. In C++, the
calling doesn't change.
Thoughts?
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom
