Comment 3 for bug 515526

Revision history for this message
poy (poy) wrote :

documented on <http://www.swig.org/Doc1.3/SWIG.html#SWIG_nn10> actually, notice how "long long" is not in the list of standard int types, and this paragraph:
"Although the SWIG parser supports the long long datatype, not all language modules support it. This is because long long usually exceeds the integer precision available in the target language. In certain modules such as Tcl and Perl5, long long integers are encoded as strings. This allows the full range of these numbers to be represented. However, it does not allow long long values to be used in arithmetic expressions. It should also be noted that although long long is part of the ISO C99 standard, it is not universally supported by all C compilers. Make sure you are using a compiler that supports long long before trying to use this type with SWIG."