scilab: use swig_this to test pointers

This commit is contained in:
Simon Marchetto 2014-03-28 15:25:02 +01:00
commit 143e6a301f
2 changed files with 4 additions and 10 deletions

View file

@ -19,10 +19,3 @@ Foo *vfunc3(void *f) { return (Foo *) f; }
Foo *vfunc4(Foo *f) { return f; }
%}
#ifdef SWIGSCILAB
%inline %{
bool equalvoidptr(void *f, void *g) { return f == g; }
%}
#endif