*bizarro% echo __ZZL7initGPUP9resamplerPKjS2_jE12__FUNCTION__01
|c++filt**initGPU(resampler*,
unsigned int const*, unsigned int const*, unsigned int)::__FUNCTION__*
I'm not entirely sure what that even means (virtual table?), but you know
what? I bet you compiled this with clang because when I do that same thing
on Linux, it's like "waaaaa?". Because of that, and exceptions, and virtual
table layout, and the standard calling for no standard ABI, I agree, can't
you wrap all the things you want to export with extern "C"?