Since Firefox 27 (bug 8950470), SpiderMonkey's jschar has been a typedef
for char16_t, a new C++11 type distinct from uint16_t.
With bug 1063962, SpiderMonkey's jschar typedef is gone. SpiderMonkey,
its JSAPI, and Gecko now use char16_t directly.
C++ code (outside mozilla-central) compiling against mozilla-central's
JSAPI will need to replace `jschar` with `char16_t` in their code.
Because jschar was just a typedef for char16_t, code using char16_t
should still be API and ABI compatible with the JSAPI of SpiderMonkey's
current stable release (31). The next SpiderMonkey release will be 38.
This change also affects js-ctypes and the Add-on SDK. JS code (outside
mozilla-central) using `ctypes.jschar` will need to be replaced with
`ctypes.char16_t`. If this is too much of a compatibility problem for
add-ons, we could keep ctypes.jschar as an alias for ctypes.char16_t.
chris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform