From: Marcelo M. <mar...@us...> - 2006-02-27 16:28:42
|
Update of /cvsroot/swig/SWIG/Examples/python/std_map In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20551/Examples/python/std_map Modified Files: example.i Log Message: fix std_map such that is not necessary to use %template() std::pair<xx,yy> everytime Index: example.i =================================================================== RCS file: /cvsroot/swig/SWIG/Examples/python/std_map/example.i,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** example.i 11 Jan 2006 23:13:36 -0000 1.2 --- example.i 27 Feb 2006 16:28:37 -0000 1.3 *************** *** 13,18 **** namespace std { /* remember to instantiate the key,value pair! */ - %template() pair<std::string,double>; - %template() pair<std::string,int>; %template(DoubleMap) map<std::string,double>; %template() map<std::string,int>; --- 13,16 ---- |