include: Add an extern C++ block around the property key equality operators.
This commit is contained in:
parent
7a6c0d2f46
commit
2d12be7df9
|
@ -58,6 +58,9 @@
|
||||||
#ifndef _PROPERTYKEY_EQUALITY_OPERATORS_
|
#ifndef _PROPERTYKEY_EQUALITY_OPERATORS_
|
||||||
#define _PROPERTYKEY_EQUALITY_OPERATORS_
|
#define _PROPERTYKEY_EQUALITY_OPERATORS_
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
extern "C++"
|
||||||
|
{
|
||||||
|
|
||||||
inline bool operator==(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther)
|
inline bool operator==(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther)
|
||||||
{
|
{
|
||||||
return IsEqualPropertyKey(guidOne, guidOther);
|
return IsEqualPropertyKey(guidOne, guidOther);
|
||||||
|
@ -66,5 +69,7 @@ inline bool operator!=(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther)
|
||||||
{
|
{
|
||||||
return !(guidOne == guidOther);
|
return !(guidOne == guidOther);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue