Chris:
> extern (C) {export void printThis(char* str);}
Maybe the D wiki should contain info to save some time and
experiments to people.
Possible alternative syntax:
extern(C) export void printThis(char* str);
Also, think if you want some const:
extern(C) export void printThis(const(char)* str);
Bye,
bearophile