diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2005-11-10 21:24:07 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2005-11-10 21:24:07 +0000 |
commit | e08809c2484622d8c64cbe0354732a623eecf254 (patch) | |
tree | b6c81ebcbab0a647c3954145962edc0d2f1fa17e /Lib/windows.i | |
parent | 86bc20b37e04b5037bb4795a553cfc3d58a3a516 (diff) | |
download | swig-e08809c2484622d8c64cbe0354732a623eecf254.tar.gz |
New library file for types in Windows.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/windows.i')
-rw-r--r-- | Lib/windows.i | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Lib/windows.i b/Lib/windows.i new file mode 100644 index 000000000..43880dc8c --- /dev/null +++ b/Lib/windows.i @@ -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& }; + |