Add missing VOID definition to windows.i

Closes #358
This commit is contained in:
William S Fulton 2019-01-07 18:46:14 +00:00
commit b463870b0c
2 changed files with 6 additions and 0 deletions

View file

@ -7,6 +7,9 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
Version 4.0.0 (in progress)
===========================
2019-01-07: wsfulton
#358 Add VOID to windows.i
2019-01-05: wsfulton
#948 #1019 #1273 Fix for C++11 raw strings where the delimiters were mistakenly left
in the string contents in situations where the string was copied into generated code.

View file

@ -112,6 +112,9 @@ typedef unsigned __int64 DWORD64, *PDWORD64;
// Types from winnt.h
typedef void *PVOID;
typedef void *PVOID64;
#ifndef VOID
#define VOID void
#endif
typedef char CHAR;
typedef short SHORT;
typedef long LONG;