Ehsan Akhgari wrote:

There might be times where you want the concrete type of the thing that your ctor function returns to be opaque, in which case it might make sense to go with the NS_NewFoo style of method.

That might even apply here, since my understanding was that mutable arrays need to be threadsafe when created off-main-thread and cycle-collected when created on-main-thread, or some such?

--
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