We have NS_NAMED_LITERAL_CSTRING which seems to be a better and safer alternative for literal strings. And we should avoid using nsLiteralCString directly to avoid the pitfall described by James. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
- Be more lenient with the NS_LITERAL_CSTRING macro jwwang
- Re: Be more lenient with the NS_LITERAL_CSTRING macro James Cheng
- Re: Be more lenient with the NS_LITERAL_CSTRING macro jwwang