Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fb799158
Commit
fb799158
authored
Mar 08, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Removed no longer needed disp_propput caller argument.
parent
f560e983
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
dispex.c
dlls/jscript/dispex.c
+2
-2
engine.c
dlls/jscript/engine.c
+4
-4
jscript.h
dlls/jscript/jscript.h
+1
-1
No files found.
dlls/jscript/dispex.c
View file @
fb799158
...
...
@@ -1095,7 +1095,7 @@ HRESULT jsdisp_propput_idx(jsdisp_t *obj, DWORD idx, VARIANT *val, jsexcept_t *e
return
jsdisp_propput_name
(
obj
,
buf
,
val
,
ei
,
caller
);
}
HRESULT
disp_propput
(
script_ctx_t
*
ctx
,
IDispatch
*
disp
,
DISPID
id
,
VARIANT
*
val
,
jsexcept_t
*
ei
,
IServiceProvider
*
caller
)
HRESULT
disp_propput
(
script_ctx_t
*
ctx
,
IDispatch
*
disp
,
DISPID
id
,
VARIANT
*
val
,
jsexcept_t
*
ei
)
{
jsdisp_t
*
jsdisp
;
HRESULT
hres
;
...
...
@@ -1106,7 +1106,7 @@ HRESULT disp_propput(script_ctx_t *ctx, IDispatch *disp, DISPID id, VARIANT *val
prop
=
get_prop
(
jsdisp
,
id
);
if
(
prop
)
hres
=
prop_put
(
jsdisp
,
prop
,
val
,
ei
,
caller
);
hres
=
prop_put
(
jsdisp
,
prop
,
val
,
ei
,
NULL
);
else
hres
=
DISP_E_MEMBERNOTFOUND
;
...
...
dlls/jscript/engine.c
View file @
fb799158
...
...
@@ -617,7 +617,7 @@ static HRESULT interp_forin(exec_ctx_t *ctx)
V_VT
(
&
v
)
=
VT_BSTR
;
V_BSTR
(
&
v
)
=
name
;
hres
=
disp_propput
(
ctx
->
parser
->
script
,
var_obj
,
var_id
,
&
v
,
ctx
->
ei
,
NULL
/*FIXME*/
);
hres
=
disp_propput
(
ctx
->
parser
->
script
,
var_obj
,
var_id
,
&
v
,
ctx
->
ei
);
SysFreeString
(
name
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
@@ -1903,7 +1903,7 @@ static HRESULT interp_postinc(exec_ctx_t *ctx)
hres
=
to_number
(
ctx
->
parser
->
script
,
&
v
,
ctx
->
ei
,
&
n
);
if
(
SUCCEEDED
(
hres
))
{
num_set_val
(
&
inc
,
num_val
(
&
n
)
+
(
double
)
arg
);
hres
=
disp_propput
(
ctx
->
parser
->
script
,
obj
,
id
,
&
inc
,
ctx
->
ei
,
NULL
/*FIXME*/
);
hres
=
disp_propput
(
ctx
->
parser
->
script
,
obj
,
id
,
&
inc
,
ctx
->
ei
);
}
if
(
FAILED
(
hres
))
VariantClear
(
&
v
);
...
...
@@ -1938,7 +1938,7 @@ static HRESULT interp_preinc(exec_ctx_t *ctx)
VariantClear
(
&
v
);
if
(
SUCCEEDED
(
hres
))
{
num_set_val
(
&
v
,
num_val
(
&
n
)
+
(
double
)
arg
);
hres
=
disp_propput
(
ctx
->
parser
->
script
,
obj
,
id
,
&
v
,
ctx
->
ei
,
NULL
/*FIXME*/
);
hres
=
disp_propput
(
ctx
->
parser
->
script
,
obj
,
id
,
&
v
,
ctx
->
ei
);
}
}
IDispatch_Release
(
obj
);
...
...
@@ -2364,7 +2364,7 @@ static HRESULT interp_assign(exec_ctx_t *ctx)
if
(
!
disp
)
return
throw_reference_error
(
ctx
->
parser
->
script
,
ctx
->
ei
,
JS_E_ILLEGAL_ASSIGN
,
NULL
);
hres
=
disp_propput
(
ctx
->
parser
->
script
,
disp
,
id
,
v
,
ctx
->
ei
,
NULL
/*FIXME*/
);
hres
=
disp_propput
(
ctx
->
parser
->
script
,
disp
,
id
,
v
,
ctx
->
ei
);
IDispatch_Release
(
disp
);
if
(
FAILED
(
hres
))
{
VariantClear
(
v
);
...
...
dlls/jscript/jscript.h
View file @
fb799158
...
...
@@ -211,7 +211,7 @@ HRESULT jsdisp_call_value(jsdisp_t*,WORD,DISPPARAMS*,VARIANT*,jsexcept_t*,IServi
HRESULT
jsdisp_call
(
jsdisp_t
*
,
DISPID
,
WORD
,
DISPPARAMS
*
,
VARIANT
*
,
jsexcept_t
*
)
DECLSPEC_HIDDEN
;
HRESULT
jsdisp_call_name
(
jsdisp_t
*
,
const
WCHAR
*
,
WORD
,
DISPPARAMS
*
,
VARIANT
*
,
jsexcept_t
*
,
IServiceProvider
*
)
DECLSPEC_HIDDEN
;
HRESULT
disp_propget
(
script_ctx_t
*
,
IDispatch
*
,
DISPID
,
VARIANT
*
,
jsexcept_t
*
)
DECLSPEC_HIDDEN
;
HRESULT
disp_propput
(
script_ctx_t
*
,
IDispatch
*
,
DISPID
,
VARIANT
*
,
jsexcept_t
*
,
IServiceProvider
*
)
DECLSPEC_HIDDEN
;
HRESULT
disp_propput
(
script_ctx_t
*
,
IDispatch
*
,
DISPID
,
VARIANT
*
,
jsexcept_t
*
)
DECLSPEC_HIDDEN
;
HRESULT
jsdisp_propget
(
jsdisp_t
*
,
DISPID
,
VARIANT
*
,
jsexcept_t
*
,
IServiceProvider
*
)
DECLSPEC_HIDDEN
;
HRESULT
jsdisp_propput_name
(
jsdisp_t
*
,
const
WCHAR
*
,
VARIANT
*
,
jsexcept_t
*
,
IServiceProvider
*
)
DECLSPEC_HIDDEN
;
HRESULT
jsdisp_propput_const
(
jsdisp_t
*
,
const
WCHAR
*
,
VARIANT
*
)
DECLSPEC_HIDDEN
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment