Should C linkage (aka "extern (C)") be the default when using "betterC"?
rempas
rempas at tutanota.com
Sat Mar 5 13:23:22 UTC 2022
On Saturday, 5 March 2022 at 11:52:04 UTC, Adam D Ruppe wrote:
>
> There's no benefit to using extern(C). Why would you want it?
I said advantages (but should have said "benefits" instead as you
do) of using "betterC", not "extern(C)".
> This is the *only* reason to use it and this is the same with
> and without betterC.
Right, I just said that probably someone will use "extern(C)" if
they also use "betterC".
More information about the Digitalmars-d
mailing list