mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
[PSDK]
- mark operators == et != of REFPROPERTYKEY as C++ externs svn path=/trunk/; revision=53050
This commit is contained in:
parent
5c00d70fce
commit
b3526a42af
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,8 @@
|
||||||
#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 +68,6 @@ inline bool operator!=(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther)
|
||||||
{
|
{
|
||||||
return !(guidOne == guidOther);
|
return !(guidOne == guidOther);
|
||||||
}
|
}
|
||||||
|
} //extern "C++"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue