scilab: fix test bools (scilab 6)
This commit is contained in:
parent
0b93dfe31f
commit
d8e22f0e21
1 changed files with 3 additions and 0 deletions
|
|
@ -561,6 +561,7 @@ public:
|
||||||
/* Check the number of input and output */
|
/* Check the number of input and output */
|
||||||
Printf(getFunctionWrapper->def, "SWIG_CheckInputArgument(pvApiCtx, 0, 0);\n");
|
Printf(getFunctionWrapper->def, "SWIG_CheckInputArgument(pvApiCtx, 0, 0);\n");
|
||||||
Printf(getFunctionWrapper->def, "SWIG_CheckOutputArgument(pvApiCtx, 1, 1);\n");
|
Printf(getFunctionWrapper->def, "SWIG_CheckOutputArgument(pvApiCtx, 1, 1);\n");
|
||||||
|
Printf(getFunctionWrapper->def, "SWIG_Scilab_SetApiContext(pvApiCtx);\n");
|
||||||
|
|
||||||
String *varoutTypemap = Swig_typemap_lookup("varout", node, origVariableName, 0);
|
String *varoutTypemap = Swig_typemap_lookup("varout", node, origVariableName, 0);
|
||||||
if (varoutTypemap != NULL) {
|
if (varoutTypemap != NULL) {
|
||||||
|
|
@ -588,6 +589,7 @@ public:
|
||||||
/* Check the number of input and output */
|
/* Check the number of input and output */
|
||||||
Printf(setFunctionWrapper->def, "SWIG_CheckInputArgument(pvApiCtx, 1, 1);\n");
|
Printf(setFunctionWrapper->def, "SWIG_CheckInputArgument(pvApiCtx, 1, 1);\n");
|
||||||
Printf(setFunctionWrapper->def, "SWIG_CheckOutputArgument(pvApiCtx, 1, 1);\n");
|
Printf(setFunctionWrapper->def, "SWIG_CheckOutputArgument(pvApiCtx, 1, 1);\n");
|
||||||
|
Printf(setFunctionWrapper->def, "SWIG_Scilab_SetApiContext(pvApiCtx);\n");
|
||||||
|
|
||||||
String *varinTypemap = Swig_typemap_lookup("varin", node, origVariableName, 0);
|
String *varinTypemap = Swig_typemap_lookup("varin", node, origVariableName, 0);
|
||||||
if (varinTypemap != NULL) {
|
if (varinTypemap != NULL) {
|
||||||
|
|
@ -663,6 +665,7 @@ public:
|
||||||
/* Check the number of input and output */
|
/* Check the number of input and output */
|
||||||
Printf(getFunctionWrapper->def, "SWIG_CheckInputArgument(pvApiCtx, 0, 0);\n");
|
Printf(getFunctionWrapper->def, "SWIG_CheckInputArgument(pvApiCtx, 0, 0);\n");
|
||||||
Printf(getFunctionWrapper->def, "SWIG_CheckOutputArgument(pvApiCtx, 1, 1);\n");
|
Printf(getFunctionWrapper->def, "SWIG_CheckOutputArgument(pvApiCtx, 1, 1);\n");
|
||||||
|
Printf(getFunctionWrapper->def, "SWIG_Scilab_SetApiContext(pvApiCtx);\n");
|
||||||
|
|
||||||
constantTypemap = Swig_typemap_lookup("constcode", node, nodeName, 0);
|
constantTypemap = Swig_typemap_lookup("constcode", node, nodeName, 0);
|
||||||
if (constantTypemap != NULL) {
|
if (constantTypemap != NULL) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue