scilab: add library cpointer.i (and test case)
This commit is contained in:
parent
894d6f6cb6
commit
fb51700c3a
2 changed files with 9 additions and 0 deletions
8
Examples/test-suite/scilab/li_cpointer_runme.sci
Normal file
8
Examples/test-suite/scilab/li_cpointer_runme.sci
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
exec("swigtest.start", -1);
|
||||
|
||||
p = new_intp();
|
||||
intp_assign(p, 3);
|
||||
checkequal(intp_value(p), 3, "intp_value(p)");
|
||||
delete_intp(p);
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
1
Lib/scilab/cpointer.i
Normal file
1
Lib/scilab/cpointer.i
Normal file
|
|
@ -0,0 +1 @@
|
|||
%include <typemaps/cpointer.swg>
|
||||
Loading…
Add table
Add a link
Reference in a new issue