зеркало из https://github.com/mozilla/gecko-dev.git
6febd292ea
We want to remove flat strings (JSFlatString). With this patch we only expose linear strings (JSLinearString) to API consumers. This is very mechanical for the most part, because code typically only cares about linear strings and not the null-termination aspect. CTypes's Library.cpp has some Windows-specific code where we relied on null-terminated strings. This patch adds JS_CopyStringCharsZ for that use case. Differential Revision: https://phabricator.services.mozilla.com/D48314 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
ipc | ||
test |