gavr wrote:
> IDL :
> void getCalendars(out PRUint32 count,
> [array, size_is(count), retval] out calICalendar
> aCalendars);
>
> Component's JS:
> getCalendars: function(cnt) {
> return this.calManager.getCalendars({});
> },
I believe you need to pass the length via the count parameter as well:
getCalendars: function(count) {
var rv = this.calManager.getCalendars({});
count.value = rv.length;
return rv;
}
--
James Ross <[EMAIL PROTECTED]>
ChatZilla and Venkman Developer
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom