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

Alexandre Julliard julliard at winehq.org
Tue Sep 18 14:04:30 CDT 2012


Module: wine
Branch: master
Commit: 8e14c9413b33dc47673d48d7ffcf7e7ae5c51dbf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8e14c9413b33dc47673d48d7ffcf7e7ae5c51dbf

Author: Charles Davis <cdavis5x at gmail.com>
Date:   Tue Sep 18 05:02:04 2012 -0600

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

---

 dlls/oleaut32/tests/tmarshal.c   |    4 ++--
 dlls/oleaut32/tests/tmarshal.idl |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/oleaut32/tests/tmarshal.c b/dlls/oleaut32/tests/tmarshal.c
index a4a2b6f..2c1b8e8 100644
--- a/dlls/oleaut32/tests/tmarshal.c
+++ b/dlls/oleaut32/tests/tmarshal.c
@@ -706,7 +706,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__restrict(IWidget* iface, INT *i)
 {
     trace("restrict\n");
     *i = DISPID_TM_RESTRICTED;
@@ -756,7 +756,7 @@ static const struct IWidgetVtbl Widget_VTable =
     Widget_ByRefUInt,
     Widget_put_prop_opt_arg,
     Widget_put_prop_req_arg,
-    Widget_restrict,
+    Widget__restrict,
     Widget_neg_restrict
 };
 
diff --git a/dlls/oleaut32/tests/tmarshal.idl b/dlls/oleaut32/tests/tmarshal.idl
index c589574..8dca84c 100644
--- a/dlls/oleaut32/tests/tmarshal.idl
+++ b/dlls/oleaut32/tests/tmarshal.idl
@@ -161,7 +161,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 _restrict([out, retval] INT *i);
 
         [id(DISPID_TM_NEG_RESTRICTED), restricted]
         HRESULT neg_restrict([out, retval] INT *i);




More information about the wine-cvs mailing list