From: Robert L. <rh...@as...> - 2007-02-15 19:50:32
|
The following swig input file generates compilation errors with 1.3.31, generating python bindings in C++. The problem's the %application of OUTPUT, but it's sad that this breaks the std_list stuff although (judging by the manual's comments on std_vector.i) I shouldn't be surprised. A %clear int &; fixes (avoids?) the problem. R %module test; %include "std_list.i" %apply int &OUTPUT { int & }; %template(listInt) std::list<int>; |