scilab: fix allprotected test (scilab 6)
This commit is contained in:
parent
2b5551919e
commit
9dda9285ea
2 changed files with 10 additions and 8 deletions
|
|
@ -525,10 +525,12 @@ public:
|
|||
Printf(tmp, "}");
|
||||
Wrapper_add_local(wrapper, "argv", tmp);
|
||||
|
||||
Printf(wrapper->code, "SWIG_Scilab_SetApiContext(pvApiCtx);\n");
|
||||
|
||||
/* Dump the dispatch function */
|
||||
Printv(wrapper->code, dispatch, "\n", NIL);
|
||||
Printf(wrapper->code, "Scierror(999, _(\"No matching function for overload\"));\n");
|
||||
Printf(wrapper->code, "return SWIG_OK;\n");
|
||||
Printf(wrapper->code, "return SWIG_ERROR;\n");
|
||||
Printv(wrapper->code, "}\n", NIL);
|
||||
Wrapper_print(wrapper, wrappersSection);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue