fix csharp RealVector problem

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-03 07:40:38 +00:00
commit ca6875444b

View file

@ -988,19 +988,6 @@ Swig_symbol_clookup(String_or_char *name, Symtab *n) {
}
}
}
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);
Delete(rt);
}
}
if (!s) {
while (hsym) {
s = symbol_lookup(name,hsym,0);
@ -1009,6 +996,7 @@ Swig_symbol_clookup(String_or_char *name, Symtab *n) {
if (!hsym) break;
}
}
if (!s) {
return 0;
}