From: David B. <dav...@da...> - 2007-01-31 15:36:00
|
On Jan 31, 2007, at 9:28 AM, Kurien Mathew wrote: > Actually swig has some typemaps/%apply that should map "long long" to > "__int64" on windows. eg In windows.i > > %apply long long { __int64 }; > %apply const long long& { const __int64& }; > > But this did not seem to avoid "long long" in the wrapper code that > was > generated. No, because the use of "long long" is probably coming from the header file you're trying to wrap, not SWIG. I would check the header to see if there are any macros or defines related to the use of long long. If so, I'd make sure those macros are also defined when running SWIG. That way, SWIG and the C++ compiler are at least seeing the code in the same way. -Dave |