Commit 2952822e authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

oleaut32/tests: Avoid using a reserved keyword '_restrict' in an idl.

parent b6520ef6
...@@ -825,7 +825,7 @@ static HRESULT WINAPI Widget_put_prop_req_arg( ...@@ -825,7 +825,7 @@ static HRESULT WINAPI Widget_put_prop_req_arg(
return S_OK; return S_OK;
} }
static HRESULT WINAPI Widget__restrict(IWidget* iface, INT *i) static HRESULT WINAPI Widget_pos_restrict(IWidget* iface, INT *i)
{ {
trace("restrict\n"); trace("restrict\n");
*i = DISPID_TM_RESTRICTED; *i = DISPID_TM_RESTRICTED;
...@@ -875,7 +875,7 @@ static const struct IWidgetVtbl Widget_VTable = ...@@ -875,7 +875,7 @@ static const struct IWidgetVtbl Widget_VTable =
Widget_ByRefUInt, Widget_ByRefUInt,
Widget_put_prop_opt_arg, Widget_put_prop_opt_arg,
Widget_put_prop_req_arg, Widget_put_prop_req_arg,
Widget__restrict, Widget_pos_restrict,
Widget_neg_restrict Widget_neg_restrict
}; };
......
...@@ -175,7 +175,7 @@ library TestTypelib ...@@ -175,7 +175,7 @@ library TestTypelib
HRESULT prop_req_arg([in] INT req, [in] INT i); HRESULT prop_req_arg([in] INT req, [in] INT i);
[id(DISPID_TM_RESTRICTED), restricted] [id(DISPID_TM_RESTRICTED), restricted]
HRESULT _restrict([out, retval] INT *i); HRESULT pos_restrict([out, retval] INT *i);
[id(DISPID_TM_NEG_RESTRICTED), restricted] [id(DISPID_TM_NEG_RESTRICTED), restricted]
HRESULT neg_restrict([out, retval] INT *i); HRESULT neg_restrict([out, retval] INT *i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment