oleaut32/tests: Don't use a C99 keyword as a method name.

This commit is contained in:
Charles Davis 2012-09-18 05:02:04 -06:00 committed by Alexandre Julliard
parent 8cba35d5d2
commit 8e14c9413b
2 changed files with 3 additions and 3 deletions

View File

@ -706,7 +706,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__restrict(IWidget* iface, INT *i)
{ {
trace("restrict\n"); trace("restrict\n");
*i = DISPID_TM_RESTRICTED; *i = DISPID_TM_RESTRICTED;
@ -756,7 +756,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__restrict,
Widget_neg_restrict Widget_neg_restrict
}; };

View File

@ -161,7 +161,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 _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);