%module voidtest %inline %{ void globalfunc(void) { } class Foo { public: Foo(void) { } void memberfunc(void) { } void* get_this() { return this; } 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; } bool test_pointers_equal(void *a, void *b) { return a == b; } %}
Generated by dwww version 1.15 on Tue Jul 2 00:30:01 CEST 2024.