oleaut32/tests: Avoid using a reserved keyword '_restrict' in an idl.
This commit is contained in:
parent
b6520ef6e7
commit
2952822eff
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue