Rob Shearman : include: Remove semi-colons from the end of cpp_quote statements as MIDL likes them .

Alexandre Julliard julliard at winehq.org
Wed Dec 26 10:05:06 CST 2007


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Tue Dec 25 17:07:07 2007 +0000

include: Remove semi-colons from the end of cpp_quote statements as MIDL likes them.

---

 include/d3d10.idl     |   14 +++++++-------
 include/msinkaut.idl  |    4 ++--
 include/oleacc.idl    |   10 +++++-----
 include/wine/irot.idl |    4 ++--
 4 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/include/d3d10.idl b/include/d3d10.idl
index 0a3439e..4e5292f 100644
--- a/include/d3d10.idl
+++ b/include/d3d10.idl
@@ -20,8 +20,8 @@ import "oaidl.idl";
 import "ocidl.idl";
 import "dxgi.idl";
 
-cpp_quote("#ifndef _D3D10_CONSTANTS");
-cpp_quote("#define _D3D10_CONSTANTS");
+cpp_quote("#ifndef _D3D10_CONSTANTS")
+cpp_quote("#define _D3D10_CONSTANTS")
 const float D3D10_DEFAULT_BLEND_FACTOR_ALPHA                                            = 1.0;
 const float D3D10_DEFAULT_BLEND_FACTOR_BLUE                                             = 1.0;
 const float D3D10_DEFAULT_BLEND_FACTOR_GREEN                                            = 1.0;
@@ -238,7 +238,7 @@ const unsigned int D3D_MINOR_VERSION
 const unsigned int D3D_SPEC_DATE_DAY                                                    = 8;
 const unsigned int D3D_SPEC_DATE_MONTH                                                  = 8;
 const unsigned int D3D_SPEC_DATE_YEAR                                                   = 2006;
-cpp_quote("#endif");
+cpp_quote("#endif")
 
 const unsigned int D3D10_APPEND_ALIGNED_ELEMENT                                         = 0xffffffff;
 const unsigned int _FACD3D10                                                            = 0x87;
@@ -246,10 +246,10 @@ const unsigned int _FACD3D10DEBUG
 const unsigned int D3D10_FILTER_TYPE_MASK                                               = 0x3;
 const unsigned int D3D10_SDK_VERSION                                                    = 29;
 
-cpp_quote("#define MAKE_D3D10_HRESULT(code)                   MAKE_HRESULT( 1, _FACD3D10, code)");
-cpp_quote("#define MAKE_D3D10_STATUS(code)                    MAKE_HRESULT( 0, _FACD3D10, code)");
-cpp_quote("#define D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS  MAKE_D3D10_HRESULT(1)");
-cpp_quote("#define D3D10_ERROR_FILE_NOT_FOUND                 MAKE_D3D10_HRESULT(2)");
+cpp_quote("#define MAKE_D3D10_HRESULT(code)                   MAKE_HRESULT( 1, _FACD3D10, code)")
+cpp_quote("#define MAKE_D3D10_STATUS(code)                    MAKE_HRESULT( 0, _FACD3D10, code)")
+cpp_quote("#define D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS  MAKE_D3D10_HRESULT(1)")
+cpp_quote("#define D3D10_ERROR_FILE_NOT_FOUND                 MAKE_D3D10_HRESULT(2)")
 
 typedef enum D3D10_BLEND {
     D3D10_BLEND_ZERO             = 1,
diff --git a/include/msinkaut.idl b/include/msinkaut.idl
index 75f7686..1f22174 100644
--- a/include/msinkaut.idl
+++ b/include/msinkaut.idl
@@ -130,7 +130,7 @@ library MSINKAUTLib
             [out, retval] IInkDrawingAttributes** DrawingAttributes);
     };
 
-cpp_quote("#ifndef _WINGDI_");
+cpp_quote("#ifndef _WINGDI_")
 /* already defined in wingdi.h but needed for WIDL */
     typedef struct tagXFORM {
         single eM11;
@@ -140,7 +140,7 @@ cpp_quote("#ifndef _WINGDI_");
         single eDx;
         single eDy;
     } XFORM;
-cpp_quote("#endif /* _WINGDI_ */");
+cpp_quote("#endif /* _WINGDI_ */")
 
     [
         odl,
diff --git a/include/oleacc.idl b/include/oleacc.idl
index e92f9fd..5333285 100644
--- a/include/oleacc.idl
+++ b/include/oleacc.idl
@@ -172,9 +172,9 @@ cpp_quote("HRESULT WINAPI CreateStdAccessibleProxyA(HWND,LPCSTR,LONG,REFIID,void
 cpp_quote("HRESULT WINAPI CreateStdAccessibleProxyW(HWND,LPCWSTR,LONG,REFIID,void **);")
 cpp_quote("#define CreateStdAccessibleProxy WINELIB_NAME_AW(CreateStdAccessibleProxy)")
 
-cpp_quote("UINT WINAPI GetRoleTextA(DWORD,LPSTR,UINT);");
-cpp_quote("UINT WINAPI GetRoleTextW(DWORD,LPWSTR,UINT);");
-cpp_quote("#define GetRoleText WINELIB_NAME_AW(GetRoleText)");
-cpp_quote("UINT WINAPI GetStateTextA(DWORD,LPSTR,UINT);");
-cpp_quote("UINT WINAPI GetStateTextW(DWORD,LPWSTR,UINT);");
+cpp_quote("UINT WINAPI GetRoleTextA(DWORD,LPSTR,UINT);")
+cpp_quote("UINT WINAPI GetRoleTextW(DWORD,LPWSTR,UINT);")
+cpp_quote("#define GetRoleText WINELIB_NAME_AW(GetRoleText)")
+cpp_quote("UINT WINAPI GetStateTextA(DWORD,LPSTR,UINT);")
+cpp_quote("UINT WINAPI GetStateTextW(DWORD,LPWSTR,UINT);")
 cpp_quote("#define GetStateText WINELIB_NAME_AW(GetStateText)")
diff --git a/include/wine/irot.idl b/include/wine/irot.idl
index 12a2c33..e480b45 100644
--- a/include/wine/irot.idl
+++ b/include/wine/irot.idl
@@ -18,8 +18,8 @@
 
 import "wtypes.idl";
 
-cpp_quote("#define IROT_PROTSEQ {'n','c','a','l','r','p','c',0}");
-cpp_quote("#define IROT_ENDPOINT {'i','r','o','t',0}");
+cpp_quote("#define IROT_PROTSEQ {'n','c','a','l','r','p','c',0}")
+cpp_quote("#define IROT_ENDPOINT {'i','r','o','t',0}")
 
 typedef struct tagMonikerComparisonData {
 	ULONG ulCntData;




More information about the wine-cvs mailing list