scilab: use swig_this to test pointers
This commit is contained in:
parent
fa834b506f
commit
143e6a301f
2 changed files with 4 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue