https://issues.dlang.org/show_bug.cgi?id=12601
Andrej Mitrovic <andrej.mitrov...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrov...@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrov...@gmail.com> --- This is really an issue with the structs implicitly getting a context pointer when they have no reason to own one. I think this bug is filed somewhere already though. As a workaround add 'static' to your C struct definition. --