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:
Marcelo Matus 2006-02-04 00:02:03 +00:00
commit d3c06307ee
3 changed files with 27 additions and 0 deletions

View file

@ -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; }
%}