Skip to content

Commit

Permalink
scilab: add library cpointer.i (and test case)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Marchetto committed Jun 11, 2014
1 parent 894d6f6 commit fb51700
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Examples/test-suite/scilab/li_cpointer_runme.sci
@@ -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 change: 1 addition & 0 deletions Lib/scilab/cpointer.i
@@ -0,0 +1 @@
%include <typemaps/cpointer.swg>

0 comments on commit fb51700

Please sign in to comment.