aaron reed wrote:
I've never seen code like this in Mozilla, where someone takes the result of a 'new', addrefs it and returns it directly to the calling function
There's plenty of code that does this... Some of it is well-hidden by macros, of course.
Could someone please verify for me that this is a proper way to do something like this?
Yes, it is. -Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
