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

This commit is contained in:
Dmitry Timoshkov 2015-09-04 15:24:28 +08:00 committed by Alexandre Julliard
parent b6520ef6e7
commit 2952822eff
2 changed files with 3 additions and 3 deletions

View File

@ -825,7 +825,7 @@ static HRESULT WINAPI Widget_put_prop_req_arg(
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");
*i = DISPID_TM_RESTRICTED;
@ -875,7 +875,7 @@ static const struct IWidgetVtbl Widget_VTable =
Widget_ByRefUInt,
Widget_put_prop_opt_arg,
Widget_put_prop_req_arg,
Widget__restrict,
Widget_pos_restrict,
Widget_neg_restrict
};

View File

@ -175,7 +175,7 @@ library TestTypelib
HRESULT prop_req_arg([in] INT req, [in] INT i);
[id(DISPID_TM_RESTRICTED), restricted]
HRESULT _restrict([out, retval] INT *i);
HRESULT pos_restrict([out, retval] INT *i);
[id(DISPID_TM_NEG_RESTRICTED), restricted]
HRESULT neg_restrict([out, retval] INT *i);