Fixes and tweaks for C++ API reference docs generation

This commit is contained in:
Wojciech Figat
2021-12-01 17:59:28 +01:00
parent aacc336c2c
commit 653c209567
10 changed files with 24 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
#pragma once
#if PLATFORM_UNIX
#if PLATFORM_ANDROID
#include "Engine/Platform/Unix/UnixFile.h"

View File

@@ -2,6 +2,8 @@
#pragma once
#if PLATFORM_LINUX
// Hide warning from old headers
#define register
@@ -38,3 +40,5 @@ namespace X11
#undef Status
#undef True
#undef False
#endif

View File

@@ -2,6 +2,8 @@
#pragma once
#if PLATFORM_WINDOWS
#include "Engine/Core/Templates.h"
#include "../Win32/IncludeWindowsHeaders.h"
@@ -332,3 +334,5 @@ bool operator<(const ComPtr<T>& a, const ComPtr<U>& b)
static_assert(__is_base_of(T, U) || __is_base_of(U, T), "'T' and 'U' pointers must be comparable");
return a.Get() < b.Get();
}
#endif