The jschar typedef is removed in SpiderMonkey 38.

Since it already is char16_t in 31 replace it by that.
https://bugzilla.mozilla.org/show_bug.cgi?id=1063962

This was SVN commit r17506.
This commit is contained in:
leper
2015-12-19 01:29:55 +00:00
parent 69ab2bae5b
commit 2239fe338c
7 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -785,7 +785,7 @@ namespace CyclicRefWorkaround
struct Stringifier
{
static bool callback(const jschar* buf, uint32 len, void* data)
static bool callback(const char16_t* buf, uint32 len, void* data)
{
utf16string str(buf, buf+len);
std::wstring strw(str.begin(), str.end());