Hi,
I'm trying to write the XPIDL file for a XPCOM component which will be
exposed to web page scripts as a Javascript global property (via
CategoryManager). I want some of the functions, if possible, to take
JavaScript objects as arguments and others to return (these same
stored) JavaScript objects.
What would the method signature be for an operation which took/
returned a JS object?
e.g.
[scriptable, uuid(..)]
interface wbMyInterface : nsISupports {
void storeObject(in ??? obj);
??? returnObject();
}
I have a feeling I may want to do something with wrappedJSObject but I
don't quite understand this.
Cheers,
Bruce
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom