scilab: add library cpointer.i (and test case)

This commit is contained in:
Simon Marchetto 2014-06-11 16:50:25 +02:00
commit fb51700c3a
2 changed files with 9 additions and 0 deletions

View 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
View file

@ -0,0 +1 @@
%include <typemaps/cpointer.swg>