mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 742200. Use JSVAL_VOID, not JSVAL_NULL, as the default value for optional arguments that are not specified. r=peterv
This commit is contained in:
parent
0744334b26
commit
bd8ddda62a
@ -1391,7 +1391,7 @@ class CGArgumentConverter(CGThing):
|
||||
"index" : index,
|
||||
"argc" : argc,
|
||||
"argv" : argv,
|
||||
"defaultValue" : "JSVAL_NULL",
|
||||
"defaultValue" : "JSVAL_VOID",
|
||||
"name" : "arg%d" % index
|
||||
}
|
||||
if argument.optional:
|
||||
|
Loading…
Reference in New Issue
Block a user