oleview: Simplify ENUM_FLAGS in CreateInterfaceInfo.
This commit is contained in:
parent
e51b20bf05
commit
2ea07f28bd
|
@ -984,8 +984,7 @@ static void CreateInterfaceInfo(ITypeInfo *pTypeInfo, int cImplTypes, WCHAR *wsz
|
|||
}
|
||||
if(pTypeAttr->wTypeFlags)
|
||||
{
|
||||
#define ENUM_FLAGS(x) if(pTypeAttr->wTypeFlags & x &&\
|
||||
(pTypeAttr->typekind != TKIND_DISPATCH || x != TYPEFLAG_FDISPATCHABLE))\
|
||||
#define ENUM_FLAGS(x) if(pTypeAttr->wTypeFlags & x)\
|
||||
{\
|
||||
AddToTLDataStrW(pTLData, wszComa);\
|
||||
AddToTLDataStrW(pTLData, wszNewLine);\
|
||||
|
|
Loading…
Reference in New Issue