I have made changes to already_AddRefed (Bug 967364) and
getter_AddRefs (Bug 345123) to eliminate some potential mistakes that
can be made with them.
For already_AddRefed:
- already_AddRefed::get() has been renamed to
already_AddRefed::take(), to make the transfer of ownership of the
pointer in
Benjamin Smedberg wrote:
On 3/26/2013 10:16 AM, Neil wrote:
Why does getter_AddRefs have an operator nsISupports**? So far
most of the uses I've found appear to be people enumerating an
nsISimpleEnumerator directly into an nsCOMPtr type, although the
documented idl return val
On 3/26/2013 10:16 AM, Neil wrote:
Why does getter_AddRefs have an operator nsISupports**? So far most
of the uses I've found appear to be people enumerating an
nsISimpleEnumerator directly into an nsCOMPtr type, although the
documented idl return value is nsISupports. Is this an accep
Why does getter_AddRefs have an operator nsISupports**? So far most
of the uses I've found appear to be people enumerating an
nsISimpleEnumerator directly into an nsCOMPtr type, although the
documented idl return value is nsISupports. Is this an acceptable paradigm?
--
Warning: May co
4 matches
Mail list logo