use correct typemap for wrapper function.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Leif Middelschulte 2012-08-13 16:21:36 +00:00
commit 0dbfbb79ac

View file

@ -765,7 +765,7 @@ ready:
Printv(return_type, SwigType_str(type, 0), NIL);
}
else if ((tm = Swig_typemap_lookup("couttype", n, "", 0))) {
String *ctypeout = Getattr(n, "tmap:proxycouttype:out");
String *ctypeout = Getattr(n, "tmap:couttype:out");
if (ctypeout)
{
tm = ctypeout;