> On Tue, Dec 23, 2014 at 1:21 AM, Ehsan Akhgari <ehsan.akhg...@gmail.com> 
> wrote:
>> Are there good use cases for having functions accept an
>> nsRefPtr<T>&? If not, we can outlaw them.

Aryeh Gregor writes:

> Do we have a better convention for an in/out parameter that's a
> pointer to a refcounted class?  editor uses this convention in a
> number of functions for "pass me a node/pointer pair as input, and
> I'll update it to the new value while I'm at it."  If there's a good
> substitute for this, let me know and I'll use it in the future when
> cleaning up editor code.

nsRefPtr<T>*
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to