On Mon, Apr 28, 2014 at 07:18:17AM +0300, Birunthan Mohanathas wrote:
> Bugs 900903 and 900908 introduced variadic variants of
> NS_IMPL_ISUPPORTS, NS_IMPL_QUERY_INTERFACE, NS_IMPL_CYCLE_COLLECTION,
> etc. and removed the old numbered macros. So, instead of e.g.
> NS_IMPL_ISUPPORTS2(nsFoo, nsIBar, nsIBaz), simply use
> NS_IMPL_ISUPPORTS(nsFoo, nsIBar, nsIBaz) instead. Right now, the new
> macros support up to 50 variadic arguments.
> 
> Note that due to technical details, the new macros will reject uses
> with zero variadic arguments. In such cases, you will want to continue
> to use the zero-numbered macro, e.g. NS_IMPL_ISUPPORTS0(nsFoo).

Mmmmm maybe the reason I failed doing the same thing earlier is because
I did try to support NS_IMPL_ISUPPORTS(nsFoo).

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to