On Thursday, 16 June 2022 at 13:57:48 UTC, Sergeant wrote:
export int my(int a, int b)
the name here is going to be mangled, so like "_D5mydll2myiiZi" or something like that.
You might want to add `extern(C)` to it so it keeps the simple name "my", that might help.