Hi All,
I would like to pass a javascript object to an XPCOM interface.
What type should I use for the parameter?
Similarly I would like to use the type as a return type of a method.
See an example:
interface nsIMyInterface : nsISupports
{
void MyFunc(in nsISupport aJavaScriptObject);
nsISupport GetJSObject();
}
Within the example I have used nsISupports as a type. Not sure
if it's correct...
Thanks for any ideas!
Honza
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom