Files
cpp-thirdparty/winx64/bin/swigwin-4.0.0/Examples/test-suite/scilab/overload_extend_runme.sci
2019-08-04 21:38:19 -05:00

14 lines
338 B
Scilab

exec("swigtest.start", -1);
//try
// x = new_Foo();
//catch
// swigtesterror();
//end
//if Foo_test(x) <> 0 then swigtesterror(); end
//if Foo_test(x, 1) <> 1 then swigtesterror(); end
//if Foo_test(x, 2, 3) <> 5 then swigtesterror(); end
//if Foo_test(x, "Hello, swig!") <> 2 then swigtesterror(); end
exec("swigtest.quit", -1);