Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/voidtest.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

22 lines
324 B
OpenEdge ABL

%module voidtest
%inline %{
void globalfunc(void) {
}
class Foo {
public:
Foo(void) { }
void memberfunc(void) { }
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; }
%}