Re: API propose to public place.

2014-06-17 Thread Benjamin Smedberg
On 6/17/2014 10:58 AM, luoyongg...@gmail.com wrote: At the current time, there is four function can not be accessed outside but required. You may file a bug and attach a patch for these if you wish. I presume the code you pasted below would go in nsStringAPI.h but all patches and reviews ar

API propose to public place.

2014-06-17 Thread luoyonggang
At the current time, there is four function can not be accessed outside but required. LossyCopyUTF16toASCII(const char16_t* aSource, nsACString& aDest) LossyAppendUTF16toASCII(nsDependentString(aSource), aDest); CopyASCIItoUTF16(const char* aSource, nsAString& aDest) AppendASCIIt