scilab: implement voidtest test
This commit is contained in:
parent
d5e8634c53
commit
9918b7c06c
2 changed files with 28 additions and 2 deletions
|
|
@ -17,7 +17,12 @@ void *vfunc1(void *f) { return f; }
|
|||
void *vfunc2(Foo *f) { return f; }
|
||||
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