Calling a C function whose name is a D reserved word or keyword

Cecil Ward cecil at cecilward.com
Sat Jul 11 19:23:50 UTC 2020


On Monday, 6 July 2020 at 23:40:23 UTC, rikki cattermole wrote:
> https://dlang.org/spec/pragma.html#mangle
>
> pragma(mangle, "body")
> extern(C) void body_func();

Thanks, that’s excellent


More information about the Digitalmars-d-learn mailing list