From 45373e58d51f02ad1f3f20f7192249e401dbfb1b Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Tue, 3 Jan 2006 07:40:38 +0000 Subject: [PATCH] fix csharp RealVector problem git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8193 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Swig/symbol.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/SWIG/Source/Swig/symbol.c b/SWIG/Source/Swig/symbol.c index 8d7a63800..68a39dd5a 100644 --- a/SWIG/Source/Swig/symbol.c +++ b/SWIG/Source/Swig/symbol.c @@ -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; }