New library file for types in Windows.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5924cd83f4
commit
9a5ab1b3d4
1 changed files with 26 additions and 0 deletions
26
SWIG/Lib/windows.i
Normal file
26
SWIG/Lib/windows.i
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
// Support for non ISO (Windows) integral types
|
||||
%apply unsigned char { unsigned __int8 };
|
||||
%apply const unsigned char& { const unsigned __int8& };
|
||||
|
||||
%apply signed char { __int8 };
|
||||
%apply const signed char& { const __int8& };
|
||||
|
||||
%apply unsigned short { unsigned __int16 };
|
||||
%apply const unsigned short& { const unsigned __int16& };
|
||||
|
||||
%apply short { __int16 };
|
||||
%apply const short& { const __int16& };
|
||||
|
||||
%apply unsigned int { unsigned __int32 };
|
||||
%apply const unsigned int& { const unsigned __int32& };
|
||||
|
||||
%apply int { __int32 };
|
||||
%apply const int& { const __int32& };
|
||||
|
||||
%apply unsigned long long { unsigned __int64 };
|
||||
%apply const unsigned long long& { const unsigned __int64& };
|
||||
|
||||
%apply long long { __int64 };
|
||||
%apply const long long& { const __int64& };
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue