extern(C) names are being mangled; that's crazy, Walter says I'm crazy
Adam D. Ruppe
destructionator at gmail.com
Wed Jul 24 13:52:37 UTC 2019
On Wednesday, 24 July 2019 at 05:03:16 UTC, Manu wrote:
> I can't believe the idea that extern(C) functions being mangled
> to un-knowable generated names is what any sane user would ever
> expect.
I have used this pattern for callbacks before without even
thinking about it, and it just worked. I have also hit some
annoyance like you saw (and before pragma(mangle) it was really
annoying, now it is just "huh i forgot to do that").
I wonder if you have ever done a callback use case too and never
even noticed it exactly because it just works, but then pay a lot
of attention to this because it doesn't.
More information about the Digitalmars-d
mailing list