windows.cfg: Added missing PFLOAT definition.

This commit is contained in:
orbitcowboy 2018-05-15 09:43:28 +02:00
parent 348eb1c5c9
commit d0089fe305
2 changed files with 10 additions and 2 deletions

View File

@ -604,6 +604,12 @@
<platform type="win32W"/>
<platform type="win64"/>
</platformtype>
<platformtype name="PFLOAT" value="float">
<pointer/>
<platform type="win32A"/>
<platform type="win32W"/>
<platform type="win64"/>
</platformtype>
<platformtype name="PCSTR" value="char">
<const_ptr/>
<platform type="win32A"/>

View File

@ -6222,7 +6222,8 @@ private:
"DWORD64 dword64;"
"ULONG64 ulong64;"
"LPWSTR lpcwstr;"
"LPCWSTR lpcwstr;";
"LPCWSTR lpcwstr;"
"PFLOAT ptrToFloat;";
const char expected[] = "int f ; "
"unsigned char g ; "
@ -6292,7 +6293,8 @@ private:
"unsigned long long dword64 ; "
"unsigned long long ulong64 ; "
"wchar_t * lpcwstr ; "
"const wchar_t * lpcwstr ;";
"const wchar_t * lpcwstr ; "
"float * ptrToFloat ;";
// These types should be defined the same on all Windows platforms
std::string win32A = tokenizeAndStringifyWindows(code, true, true, Settings::Win32A);