Jeff Walden wrote:
char* previous = nsnull; rv = catman->AddCategoryEntry("xpcom-startup", "WebLock", WebLock_ContractID, PR_TRUE, PR_TRUE, &previous);Which of these is the preferred way?
This one, because the other one doesn't actually compile... (but you better make sure to nsMemory::Free (well, NS_Free I suppose) previous after it)
_______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
