I don't think so. We could add JS_New(Latin1)String that takes Latin1Char* instead of char16_t* (like JS_NewUCString, it can just forward to js::NewString).
Hope this helps, Jan On Tue, Feb 6, 2018 at 3:36 PM, Henri Sivonen <[email protected]> wrote: > Does SpiderMonkey expose a Latin1 analog of JS_NewUCString() for Gecko to > call? > > -- > Henri Sivonen > [email protected] > https://hsivonen.fi/ > _______________________________________________ > dev-platform mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

