matra wrote:
Question: How should I free the returned string. The sample I am looking at
uses nsXPIDLCString, which is not available in SDK:
nsACString previous;
rv = catman->AddCategoryEntry(, ..... getter_Copies(previous));
If you use getter_Copies, that will free it automatically. (Otherwise,
you'd use NS_Free)
I'm surprised that you can instantiate an nsACString though...
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom