extern(C) in druntime

Logan Capaldo via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 10 14:15:36 PST 2014


On Monday, 10 November 2014 at 19:44:05 UTC, Dicebot wrote:
> On Monday, 10 November 2014 at 17:48:04 UTC, Sean Kelly wrote:
>> On Monday, 10 November 2014 at 16:59:47 UTC, Dicebot wrote:
>>>
>>> Right now question is, however, are there any legitimate uses 
>>> of `extern(C)` in druntime or those all can be replaced with 
>>> `pragma(mangle, "XXX") extern(D)`?
>>
>> I don't think there's any reason to use extern (C) in druntime 
>> any more.
>
> I guess that nails it, will make a PR

What about things that are "meant" to be called from C? E.g. 
`rt_init`/`rt_term`?


More information about the Digitalmars-d mailing list