Ehsan Akhgari wrote:

On 2015-04-27 6:29 AM, Neil wrote:

I found the following in-tree examples, none of which would have worked with NS_LITERAL_STRING:

These are terrible!

But what should we replace them with?

  1. Change all of those static const char arrays back into #define
  2. Invent a new wrapper for static const char arrays
     (NS_TERMINATED_ARRAY?). Would such a string be marked as sharable?
  3. Something else?

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to