scilab: implement test template_classes
This commit is contained in:
parent
25cadaa9fe
commit
30a1a84a58
1 changed files with 8 additions and 0 deletions
8
Examples/test-suite/scilab/template_classes_runme.sci
Normal file
8
Examples/test-suite/scilab/template_classes_runme.sci
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
exec("swigtest.start", -1);
|
||||
|
||||
ri = new_RectangleInt();
|
||||
pi = RectangleInt_getPoint(ri);
|
||||
x = PointInt_getX(pi);
|
||||
delete_RectangleInt(ri);
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue