add the missing file of matrix2 example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
215a9c649b
commit
c31100860e
7 changed files with 116 additions and 97 deletions
|
|
@ -322,6 +322,7 @@ public:
|
|||
Printf(f->def, "\nint iOutNum = 1;\nint iVarOut = Rhs + 1;");
|
||||
|
||||
/* Finish the the code for the function */
|
||||
Printf(f->code, "LhsVar(iOutNum) = iVarOut;\n");
|
||||
Printf(f->code, "return 0;\n");
|
||||
Printf(f->code, "}\n");
|
||||
|
||||
|
|
@ -366,6 +367,7 @@ public:
|
|||
/* Dump the dispatch function */
|
||||
Printv(f->code, dispatch, "\n", NIL);
|
||||
Printf(f->code, "Scierror(999, _(\"No matching function for overload\"));\n");
|
||||
Printf(f->code, "LhsVar(iOutNum) = iVarOut;\n");
|
||||
Printf(f->code, "return 0;\n");
|
||||
Printv(f->code, "}\n", NIL);
|
||||
Wrapper_print(f, f_wrappers);
|
||||
|
|
@ -477,6 +479,7 @@ public:
|
|||
}
|
||||
|
||||
/* Dump the wrapper function */
|
||||
Printf(getf->code, "LhsVar(iOutNum) = iVarOut;\n");
|
||||
Append(getf->code, "}\n");
|
||||
Wrapper_print(getf, f_wrappers);
|
||||
Printf(f_header,"%s", globalVar);
|
||||
|
|
@ -536,6 +539,7 @@ public:
|
|||
}
|
||||
|
||||
/* Dump the wrapper function */
|
||||
Printf(getf->code, "LhsVar(iOutNum) = iVarOut;\n");
|
||||
Append(getf->code, "}\n");
|
||||
Wrapper_print(getf, f_wrappers);
|
||||
Printf(f_builder_code, "\"%s\",\"%s\";", getname, getname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue