From: William S F. <ws...@fu...> - 2007-03-20 14:23:22
|
David Beazley <dave-swig <at> dabeaz.com> writes: > > Does it work if you properly define __int64 with a typedef? > > typedef long long __int64; > > There shouldn't be any need to mess around with typemaps here. > You used to be able to use: %apply long long { __int64 }; However this stoppped working when the UTL was introduced for Python. I couldn't see how to get the UTL framework to restore the previous behaviour, so I'm afraid that you do actually have to define the typemaps. Alternatively use the long long typemaps from an older version of SWIG where you can use this %apply. >From memory, I think 1.3.25 would be a good candidate. William |