On Wednesday, 9 August 2017 at 23:52:00 UTC, Johnson Jones wrote:
extern(C) delegate(void*) {}
You should very rarely use extern(C) delegate... delegate is a D type, so the C function is almost certainly not actually receiving it.
Only time you'd want an extern(C) using D types like delegates, arrays, strings, etc., is if the receiver is actually also written in D.
idk if this would fix your problem, but it should be changed regardless.