New test for strings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Vincent Couvert 2011-03-31 12:30:12 +00:00
commit dca46d044f
4 changed files with 57 additions and 6 deletions

View file

@ -592,8 +592,10 @@ public:
/* Insert the argument counter */
//Printf(getf->def, "\nint scilabArgNumber=0;");
Wrapper_add_local(getf, "_outv", "int _outv");
if ((tm = Swig_typemap_lookup("varout", n, name, 0))) {
Replaceall(tm, "$result", name);
Replaceall(tm, "$result", "_outv");
if (is_assignable(n)) {
Replaceall(tm, "iRowsOut", rowname);
Replaceall(tm, "iColsOut", colname);