From: Marcelo M. <mar...@us...> - 2005-12-27 21:50:33
|
Update of /cvsroot/swig/SWIG/Source/Swig In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15902 Modified Files: symbol.c Log Message: fix consistence between reduce/qualify template types Index: symbol.c =================================================================== RCS file: /cvsroot/swig/SWIG/Source/Swig/symbol.c,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** symbol.c 23 Dec 2005 10:12:15 -0000 1.43 --- symbol.c 27 Dec 2005 21:50:24 -0000 1.44 *************** *** 1059,1066 **** if (!s) { if (SwigType_istemplate(name)) { ! SwigType *qt = Swig_symbol_template_reduce(name, hsym); ! SwigType *rt = Swig_symbol_type_qualify(qt,hsym); if (!Equal(rt,name)) { ! s = Swig_symbol_clookup(rt, hsym); } Delete(qt); --- 1059,1066 ---- if (!s) { if (SwigType_istemplate(name)) { ! SwigType *rt = Swig_symbol_template_reduce(name, hsym); ! SwigType *qt = Swig_symbol_type_qualify(rt,hsym); if (!Equal(rt,name)) { ! s = Swig_symbol_clookup(qt, hsym); } Delete(qt); |