mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +00:00
[JSCRIPT] Sync with Wine Staging 4.0. CORE-15682
This commit is contained in:
parent
9a0babd145
commit
660f7b9090
50 changed files with 1562 additions and 1242 deletions
|
@ -487,7 +487,7 @@ static HRESULT json_quote(stringify_ctx_t *ctx, const WCHAR *ptr, size_t len)
|
|||
break;
|
||||
default:
|
||||
if(*ptr < ' ') {
|
||||
const WCHAR formatW[] = {'\\','u','%','0','4','x',0};
|
||||
static const WCHAR formatW[] = {'\\','u','%','0','4','x',0};
|
||||
WCHAR buf[7];
|
||||
sprintfW(buf, formatW, *ptr);
|
||||
if(!append_string(ctx, buf))
|
||||
|
@ -836,7 +836,7 @@ static const builtin_prop_t JSON_props[] = {
|
|||
static const builtin_info_t JSON_info = {
|
||||
JSCLASS_JSON,
|
||||
{NULL, NULL, 0},
|
||||
sizeof(JSON_props)/sizeof(*JSON_props),
|
||||
ARRAY_SIZE(JSON_props),
|
||||
JSON_props,
|
||||
NULL,
|
||||
NULL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue