mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
include: Complete __wine_uuidof for C++.
/usr/local/include/wine/windows/guiddef.h:83:68: error: incomplete type ‘__wine_uuidof_type<IUnknown>::inst’ {aka ‘__wine_uuidof<IUnknown>’} used in nested name specifier 83 | #define __uuidof(type) __wine_uuidof_type<__typeof__(type)>::inst::uuid
This commit is contained in:
parent
badaed6419
commit
5813a1fe23
|
@ -56,8 +56,9 @@ typedef struct _GUID
|
|||
#ifdef __WINE_UUID_ATTR
|
||||
|
||||
extern "C++" {
|
||||
template<typename T> struct __wine_uuidof;
|
||||
|
||||
template<typename T> struct __wine_uuidof {
|
||||
static const GUID uuid;
|
||||
};
|
||||
template<typename T> struct __wine_uuidof_type {
|
||||
typedef __wine_uuidof<T> inst;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue