зеркало из https://github.com/mozilla/pjs.git
Implement WriteUtf8Z. Bug 290914, r=biesi, sr=darin, a=asa
This commit is contained in:
Родитель
baa185cb62
Коммит
eaa2835932
|
@ -57,6 +57,7 @@
|
||||||
#include "nsMemory.h"
|
#include "nsMemory.h"
|
||||||
#include "prlong.h"
|
#include "prlong.h"
|
||||||
#include "nsGenericFactory.h"
|
#include "nsGenericFactory.h"
|
||||||
|
#include "nsString.h"
|
||||||
|
|
||||||
NS_IMPL_ISUPPORTS3(nsBinaryOutputStream, nsIObjectOutputStream, nsIBinaryOutputStream, nsIOutputStream)
|
NS_IMPL_ISUPPORTS3(nsBinaryOutputStream, nsIObjectOutputStream, nsIBinaryOutputStream, nsIOutputStream)
|
||||||
|
|
||||||
|
@ -222,8 +223,7 @@ nsBinaryOutputStream::WriteWStringZ(const PRUnichar* aString)
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsBinaryOutputStream::WriteUtf8Z(const PRUnichar* aString)
|
nsBinaryOutputStream::WriteUtf8Z(const PRUnichar* aString)
|
||||||
{
|
{
|
||||||
NS_NOTREACHED("WriteUtf8Z");
|
return WriteStringZ(NS_ConvertUTF16toUTF8(aString).get());
|
||||||
return NS_ERROR_NOT_IMPLEMENTED;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
|
|
Загрузка…
Ссылка в новой задаче