* New version for Scilab module using fragments
* A C and CPP tests generate and compile except tests using vectors (to be done) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6db40d8378
commit
a8b8b6c5d4
41 changed files with 2679 additions and 2557 deletions
|
|
@ -1,13 +1,13 @@
|
|||
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
|
||||
//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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue