add test for 'void *' argument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ffb572742b
commit
d3c06307ee
3 changed files with 27 additions and 0 deletions
|
|
@ -12,5 +12,12 @@ public:
|
|||
static void staticmemberfunc(void) { }
|
||||
};
|
||||
|
||||
|
||||
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; }
|
||||
|
||||
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue