SWIG and __int64

Lyle Johnson lyle at users.sourceforge.net
Thu Aug 14 15:38:01 EDT 2003


Matt Whelan wrote:

> Supposedly, recent versions of SWIG can be made to work with MS VC++'s
> non-standard integer data types.  According to a recent SWIG ChangeLog
> entry:
> 
> %apply long long { __int64 };
> 
> should make Swig happy.  But it doesn't.  I get Syntax Errors on each
> line where __int64 appears.

Just to clarify: are you getting errors when running SWIG (i.e. to 
generate the wrapper code) or when compiling the code that SWIG 
generated for you?





More information about the Python-list mailing list