Jon Smirl wrote:
> Thanks for the pointers I still hadn't noticed nsDependentString.
>
> Changing from PRUnichar* to the new interfaces is making me rewrite a lot of
> code. Passing in a nsAWritableString instead of a PRUnichar** changes where
> the string allocation takes place.
Don't know anything about null strings (DOM strings) but I think the
current fashion is to use nsAString even if it happens to be the exact
same thing as nsAWritableString. nsAReadableString would then be a const
nsAString I guess.
/Daniel