#include <stdio.h>

#define METHOD(class, name, rtype, ...) rtype class##_##name (class *instance, __VA_ARGS__)

typedef struct Foo { int bar; } Foo;

METHOD(Foo, create, void, int baz) {
    instance->bar = baz;
    printf("baz is %d\n", baz);
}

int main(void) {
    Foo foo;
	Foo_create(&foo, 1488);
	return 0;
}
