http://praveenmatanam.wordpress.com/2007/05/09/returning-a-js-array-to-javascript-from-a-cjavascript-xpcom-object-access-through-xpconnect/

On Aug 9, 4:23 pm, [EMAIL PROTECTED] wrote:
> hi,
>
> problem is that......i want to define a function which passes values
> of an array to XPCOM component......like in c u defined it like
> this...
>
> void fun( int a[] )
>
> but if i write my .idl file like this:
>
> #include "nsISupports.idl"
>
> [scriptable, uuid(8f690b27-1f76-4b3d-8a24-eb809b223f02)]
>
> interface IArray : nsISupports
>
> {
>
>   long fun(in long a[], in long b);
>
> };
>
> and if i compile it....its give me this error msg.
>
> ** (process:19794): WARNING **: Parse of IArray.idl failed
>
> is there any other way to define a function like this in XPIDL?


_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to