Commit 2ea07f28 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

oleview: Simplify ENUM_FLAGS in CreateInterfaceInfo.

parent e51b20bf
...@@ -984,8 +984,7 @@ static void CreateInterfaceInfo(ITypeInfo *pTypeInfo, int cImplTypes, WCHAR *wsz ...@@ -984,8 +984,7 @@ static void CreateInterfaceInfo(ITypeInfo *pTypeInfo, int cImplTypes, WCHAR *wsz
} }
if(pTypeAttr->wTypeFlags) if(pTypeAttr->wTypeFlags)
{ {
#define ENUM_FLAGS(x) if(pTypeAttr->wTypeFlags & x &&\ #define ENUM_FLAGS(x) if(pTypeAttr->wTypeFlags & x)\
(pTypeAttr->typekind != TKIND_DISPATCH || x != TYPEFLAG_FDISPATCHABLE))\
{\ {\
AddToTLDataStrW(pTLData, wszComa);\ AddToTLDataStrW(pTLData, wszComa);\
AddToTLDataStrW(pTLData, wszNewLine);\ AddToTLDataStrW(pTLData, wszNewLine);\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment