Hello, world!

I've defined the following interface:

[scriptable, uuid(...)]
interface nsIMyJSCallback : nsISupports
{
  void bar(in nsIArray args);
};

In my js file, I've got the following:

var foundcb = {
  bar: function(m){
     [snip]
  }
}

I'm actually not able to do anything with 'm'. I'm not able to use it
like a javascript array. Could you please explain me how to use it?

Thanks for your reply.
-AJ
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to