Alec Flett wrote:
> Since the string guide is becoming larger and larger as I try to
> document the string library, I've put together a little quick-reference
> page, to get people up to speed on the new (read: over a year old now!)
> strings
>
> http://www.mozilla.org/projects/xpcom/string-quickref.html
>
> As always, there is more to come!
>
> Don't forget the main string guide:
> http://www.mozilla.org/projects/xpcom/string-guide.html
>
> Alec
>
>
For the first example:
void MyMethod(const nsString& input, nsString& output);
vs.
void MyMethod(const nsAString& input, nsString& output);
Shouldn't output be a nsAString, too?
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-- Benjamin Franklin