Axel Hecht wrote:
Robert O'Callahan wrote:
 > Macros suck. Don't use NS_IMETHOD(Foo), use "virtual Foo ...".

Could you elaborate on that one?

"NS_IMETHOD(Foo*) Bar() = 0;" is equivalent to "virtual Foo* Bar() = 0;". So just write the non-macro version. It's no more verbose and avoids using a macro.


Rob

_______________________________________________
Mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to