nsAString references will accept any concrete string class (such as nsString, nsAutoString, nsDependentString, and nsDependentJSString) as well as other references to nsAString.

Cheers,
Josh

On 04/05/2013 04:03 AM, [email protected] wrote:
So, as a general rule, when a function expects a nsAString as argument, should 
I always use nsAutoString or can I choose from a wider range of string types 
because nsAString is abstract? I found that nowhere.

Jeremy



_______________________________________________
dev-security mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-security

Reply via email to