Compare Revisions

Reference Manual

Revision 165370:

Revision 165370 by Eff2k5 on

Revision 165371:

Revision 165371 by Eff2k5 on

Title:
Reference Manual
Reference Manual
Slug:
Using_nsCOMPtr/Reference_Manual
Using_nsCOMPtr/Reference_Manual
Tags:
XPCOM
XPCOM
Content:

Revision 165370
Revision 165371
t774      Although the <code>nsCOMPtr</code> parallel is easy to undet774      Although the <code>nsCOMPtr</code> parallel is easy to unde
>rstand, it suffers from doing one extra <code>AddRef</code> and o>rstand, it suffers from doing one extra <code>AddRef</code> and o
>ne extra <code>Release</code> compared to the raw pointer scheme.>ne extra <code>Release</code> compared to the raw pointer scheme.
> A slight transformation makes the code uglier, but (possibly neg> A slight transformation makes the code uglier, but (possibly neg
>ligably) more efficient.>ligibly) more efficient.

Back to History